支持更细化的权限控制
Some checks failed
release-nightly / goreleaser (push) Failing after 5m15s
release-nightly / release-image (push) Failing after 11m16s
checks / check and test (push) Has been cancelled

This commit is contained in:
2025-04-13 19:01:33 +08:00
parent b1ae30dda8
commit 96f297866f
4 changed files with 45 additions and 3 deletions

View File

@ -31,6 +31,7 @@ type Runner struct {
FetchTimeout time.Duration `yaml:"fetch_timeout"` // FetchTimeout specifies the timeout duration for fetching resources.
FetchInterval time.Duration `yaml:"fetch_interval"` // FetchInterval specifies the interval duration for fetching resources.
Labels []string `yaml:"labels"` // Labels specify the labels of the runner. Labels are declared on each startup
AllowedRepos []string `yaml:"allowed_repos"` // AllowedRepos specify the repositories that the runner is allowed to run jobs for.
}
// Cache represents the configuration for caching.