新增黑名单模式和拒绝文本配置,优化仓库匹配逻辑
This commit is contained in:
@ -48,6 +48,10 @@ runner:
|
||||
- "org1/repo2"
|
||||
- "org2/*"
|
||||
- "user1/*"
|
||||
# for global runner, if true, the runner will only run jobs except the allowed_repos.
|
||||
blacklist_mode: false
|
||||
# reject_text is used to show the reason why the job is rejected.
|
||||
reject_text: "This runner is not allowed to run this job in this repository: %s."
|
||||
|
||||
cache:
|
||||
# Enable cache server to use actions/cache.
|
||||
|
Reference in New Issue
Block a user