Replies: 13 comments 40 replies
-
This is awesome for any workflow that is non-language-specific. I'd love to see the ability to limit which repos are subject to these required workflows, via repo name pattern, repo topic, or some other criteria |
Beta Was this translation helpful? Give feedback.
-
Looking forward to support for additional triggers, would be great to trigger these workflows on PR merge/close events! |
Beta Was this translation helpful? Give feedback.
-
Hi ! I've did it according to the documentation and blog article, but the required workflows are stuck in "Waiting for workflow to run" state. Ruleset settings
Reusable workflow
name: Test required workflow
on:
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: echo hello I can't see anywhere the workflow run. Did I missed something ? |
Beta Was this translation helpful? Give feedback.
-
Ooooh that's what I've missed ! Thanks a lot @elbrenn it works 👍 |
Beta Was this translation helpful? Give feedback.
-
@tuves hi. Is there a roadmap to release this feature to non-enterprise organizations on the Team plan? |
Beta Was this translation helpful? Give feedback.
-
Previously with the beta, it was possible to have a required workflow (pull_request) that fired on other types like labeled, unlabeled, etc. That seems to have stopped working with the migration to Repository Rulesets, why is that? Are the following pull_request types not supported for a required workflow through Repository Rulesets?
|
Beta Was this translation helpful? Give feedback.
-
When using Evaluate for the required workflow I like that we can see the insights. What would be nice also is the ability to export the data. Is this on the roadmap? Is this doable today via API calls? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hello, OrgA (all workflows from my company) <- OrgsX uses all workflows from there. I just realized the "require workflows to pass before merging" rulesets cannot be created pointing to workflows on a different Org than the one where the ruleset is being created. I mean, if I'm in OrgX I cannot select a repository in OrgA. :( Thx |
Beta Was this translation helpful? Give feedback.
-
Hi, @tuves . There seems to be a bug with this feature. Enable required workflows org-wide outright prevents first push to new repos. We are able to create a repo, but not even the bypass users/admins are able to push to the main branch from local. |
Beta Was this translation helpful? Give feedback.
-
It would be very helpful to have a field for description/comments in each ruleset, to allow for some documentation of the scope and intent of the rules. This is particularly valuable when using multiple rulesets which effect the same branches. |
Beta Was this translation helpful? Give feedback.
-
Can we please have this feature (requiring workflows) for |
Beta Was this translation helpful? Give feedback.
-
When I went to enable this feature for at the org level, once I selected And just to verify, If I have a workflow that always runs in repo A, but sends commit statuses back to any PR in repo B, this can require a workflow in repo A to pass before PR in repo B can be merged? If not is status checks needed for that? Cannot find workflow in repo A in status check list. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Just released 🎉 🎉 🎉
Available today, GitHub Enterprise Cloud customers have the ability to set up rules that require workflows to run and pass before a pull request can be merged. This is a powerful new tool for organizations who are creating a centralized ci/cd policy for their repositories. For more detailed information please read our blog announcement and check out our documentation to start requiring workflows.
What's Next?
In the near future we're looking to:
Feedback
We hope you're all as excited as we are and will take some time to share some feedback about this release. All of your feedback helps us improve the feature as we continue to iterate in the coming quarters.
Beta Was this translation helpful? Give feedback.
All reactions