github::ActivityMonitor method branch_enabled (protected)

 <instance of github::ActivityMonitor[i]> branch_enabled branch

Defined in packages/xowiki/tcl/github-activity-monitor-procs.tcl

Parameters:
branch (required)

Testcases:
No testcase defined.
Source code:
if {![info exists :allowed_branches]} {
    set :allowed_branches {main oacs-5-10}
}
foreach pattern ${:allowed_branches} {
    if {[string match $pattern $branch]} {return 1}
}
return 0
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: