GitHub Action that introduces support for global workflows. Global workflows are the one you update in just one repo and they are automatically updated in other repositories.
Hello! I love this action! Awesome work! In our organization, in some repos, we have multiple branches with these same workflows. For master/main (:trollface:) we use global-workflows-support action but for another (like prereleases) we have to update workflows manually.
Description
Please try answering few of those questions
What changes have to be introduced?
Add info to action about which branches should be updated.
Will this be a breaking change?
I don't think so.
How could it be implemented/designed?
Probably similar to repos_to_ignore option but in the opposite sense, something like for_branches. By default it will be master/main, but if given workflows should be also updated in the other branches, dev should add option:
for_branches: ['master', 'next', ...]
Awesome will be support for regex like **-release (all branches with suffix -release). Action should check that given branch exists in repo and make in loop PR for given branches.
Reason/Context
Hello! I love this action! Awesome work! In our organization, in some repos, we have multiple branches with these same workflows. For
master
/main
(:trollface:) we useglobal-workflows-support
action but for another (like prereleases) we have to update workflows manually.Description
Please try answering few of those questions
Add info to action about which branches should be updated.
I don't think so.
Probably similar to
repos_to_ignore
option but in the opposite sense, something likefor_branches
. By default it will bemaster
/main
, but if given workflows should be also updated in the other branches, dev should add option:Awesome will be support for regex like
**-release
(all branches with suffix-release
). Action should check that given branch exists in repo and make in loop PR for given branches.What do you think?