You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lunny Xiao 2782c14396
Supports wildcard protected branch (#20825)
This PR introduce glob match for protected branch name. The separator is
`/` and you can use `*` matching non-separator chars and use `**` across
separator.

It also supports input an exist or non-exist branch name as matching
condition and branch name condition has high priority than glob rule.

Should fix #2529 and #15705

screenshots

<img width="1160" alt="image"
src="https://user-images.githubusercontent.com/81045/205651179-ebb5492a-4ade-4bb4-a13c-965e8c927063.png">

Co-authored-by: zeripath <art27@cantab.net>
1 year ago
..
blob.go Implement FSFE REUSE for golang files (#21840) 1 year ago
branch.go Supports wildcard protected branch (#20825) 1 year ago
collaborators.go Move `convert` package to services (#22264) 1 year ago
commits.go Move `convert` package to services (#22264) 1 year ago
file.go Use context parameter in models/git (#22367) 1 year ago
fork.go Move `convert` package to services (#22264) 1 year ago
git_hook.go Move `convert` package to services (#22264) 1 year ago
git_ref.go Implement FSFE REUSE for golang files (#21840) 1 year ago
hook.go Restructure `webhook` module (#22256) 1 year ago
hook_test.go Implement FSFE REUSE for golang files (#21840) 1 year ago
issue.go Move `convert` package to services (#22264) 1 year ago
issue_attachment.go Move `convert` package to services (#22264) 1 year ago
issue_comment.go Move `convert` package to services (#22264) 1 year ago
issue_comment_attachment.go Move `convert` package to services (#22264) 1 year ago
issue_label.go Move `convert` package to services (#22264) 1 year ago
issue_reaction.go Move `convert` package to services (#22264) 1 year ago
issue_stopwatch.go Move `convert` package to services (#22264) 1 year ago
issue_subscription.go Move `convert` package to services (#22264) 1 year ago
issue_tracked_time.go Move `convert` package to services (#22264) 1 year ago
key.go Move `convert` package to services (#22264) 1 year ago
label.go Move `convert` package to services (#22264) 1 year ago
language.go Implement FSFE REUSE for golang files (#21840) 1 year ago
main_test.go Implement FSFE REUSE for golang files (#21840) 1 year ago
migrate.go Move `convert` package to services (#22264) 1 year ago
milestone.go Move `convert` package to services (#22264) 1 year ago
mirror.go Add `sync_on_commit` option for push mirrors api (#22271) 1 year ago
notes.go Move `convert` package to services (#22264) 1 year ago
patch.go Implement FSFE REUSE for golang files (#21840) 1 year ago
pull.go Supports wildcard protected branch (#20825) 1 year ago
pull_review.go Move `convert` package to services (#22264) 1 year ago
release.go Move `convert` package to services (#22264) 1 year ago
release_attachment.go Move `convert` package to services (#22264) 1 year ago
release_tags.go Move `convert` package to services (#22264) 1 year ago
repo.go Move `convert` package to services (#22264) 1 year ago
repo_test.go Implement FSFE REUSE for golang files (#21840) 1 year ago
star.go Move `convert` package to services (#22264) 1 year ago
status.go Use context parameter in models/git (#22367) 1 year ago
subscriber.go Move `convert` package to services (#22264) 1 year ago
tag.go Move `convert` package to services (#22264) 1 year ago
teams.go Move `convert` package to services (#22264) 1 year ago
topic.go Move `convert` package to services (#22264) 1 year ago
transfer.go Move `convert` package to services (#22264) 1 year ago
tree.go Implement FSFE REUSE for golang files (#21840) 1 year ago
wiki.go Move `convert` package to services (#22264) 1 year ago