新增黑名单模式和拒绝文本配置,优化仓库匹配逻辑
Some checks failed
release-nightly / release-image (push) Failing after 2s
checks / check and test (push) Has been cancelled

This commit is contained in:
2025-04-14 13:07:48 +08:00
parent 314d43d5be
commit e1732603b3
4 changed files with 16 additions and 7 deletions

View File

@ -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.