-
I just found out about this awesome GitHub feature https://help.github.com/en/github/building-a-strong-community/creating-a-default-community-health-file I immediately noticed that I have few workflows that are exactly the same for the whole organization, like handling stale PRs and Issues. Did you think about adding support for GitHub Actions in What do you think? |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments
-
Hi @derberg , Thank you for reaching this out! Currently github workflow only works per repository. According to the policy, you are welcome to share your idea here where github product manager will take a review. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for a hint. Sorry for posting it in a wrong location. I just sent a feature proposal. Thank you again |
Beta Was this translation helpful? Give feedback.
-
hi @derberg, I have read in one of the discussion that GitHub Actions development team is working on enabling workflows on organization level. |
Beta Was this translation helpful? Give feedback.
-
@ibakshay Can you post the discussion where you saw this? |
Beta Was this translation helpful? Give feedback.
-
so, I was tired of waiting and could not imagine editing the same workflows in 37 repos manually, so I created a GitHub Action that supports exactly this, global workflows GitHubGlobal Workflows Support - GitHub MarketplaceThis action introduces support for global workflows you can see it running with success here after this PR was merged. PR with updated workflow showed in 37 other repos in less than 3min |
Beta Was this translation helpful? Give feedback.
-
This feature would be a huge improvement to GitHub Actions. If this feature ever makes the cut, I have one request
This would be in addition to the more obvious feature, which would be an array of explicitly defined repos
Obviously the formatting above is speculative as it would likely be implemented much differently, but it’s my hope that it conveys the idea succinctly |
Beta Was this translation helpful? Give feedback.
-
did you try my action as a workaround? github.comGlobal Workflows Support - GitHub MarketplaceThis action introduces support for global workflows I’m using it here .github/global-workflows-support.yml at 1f1d59b6d59371159cca12960c60e4cf24c433fe · asyncapi/.github · GitHub and so far I’m super happy with it |
Beta Was this translation helpful? Give feedback.
-
Nice workaround. However, I’d really would like GitHub to support this natively! Our security policy is strict, and running GitHub Actions like this one is not OK. It requires a token that can write to the whole org, and consequently creates commits in all repositories. This would trigger so many micro service deployments in our case, that we can’t use this. A GitHub native implementation hopefully does not create commits: individual repo’s would just inherit the global workflow for the next PR/push. |
Beta Was this translation helpful? Give feedback.
-
Definitely. I would be more than happy to throw away my action. Even a day after writing it, but yeah, what else we can do, going to each repo and doing changes manually repo-by-repo would be just crazy |
Beta Was this translation helpful? Give feedback.
-
@hermanbanken if you follow Conventional Commits and update commit_message for this action along the lines of |
Beta Was this translation helpful? Give feedback.
-
This should be a feature request, it is so annoying to not be able to configure a global workflow for every issue added to a repository, so you have to go to each repo and configure what should happen to the issue. That's ok, but imagine having dozens of repos and having to configure the same action for all of them. |
Beta Was this translation helpful? Give feedback.
so, I was tired of waiting and could not imagine editing the same workflows in 37 repos manually, so I created a GitHub Action that supports exactly this, global workflows
GitHubGlobal Workflows Support - GitHub Marketplace
This action introduces support for global workflows
you can see it running with success here after this PR was merged. PR with updated workflow showed in 37 other repos in less than 3min