Add Scoped Workflows directory to GitHub-actions manager #44698
meerumschlungen
started this conversation in
Suggest an Idea
Replies: 1 comment
-
|
Sounds reasonable, PR welcome. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Tell us more.
Gitea supports Scoped Actions since v1.27.0 (go-gitea/gitea#38154).
Scoped Actions allow to specify central repositories on a user or organization level which may contain workflow actions which apply for each repository in the scope by default rather than adding the required workflow to each individual repository.
These workflows by default reside in .gitea/scoped_workflows/ inside the configured repository.
I'd like to suggest to extend the default
managerFilePatternsregexes to include this directory for the github-actions manager to include these by default.Before: (Ref: https://docs.renovatebot.com/modules/manager/github-actions/#default-config)
{ "managerFilePatterns": [ "/(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions))/.+\\.ya?ml$/", "/(^|/)action\\.ya?ml$/" ] }Suggested:
{ "managerFilePatterns": [ "/(^|/)(workflow-templates|\\.(?:github|gitea|forgejo)/(?:workflows|actions|scoped_workflows))/.+\\.ya?ml$/", "/(^|/)action\\.ya?ml$/" ] }Manually overriding the config as suggested works fine for Renovate to manage dependencies.
Beta Was this translation helpful? Give feedback.
All reactions