Replies: 17 comments 56 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.
-
Hello, I am using a workflow that will trigger when the PR is labelled ("Initiate Testing"). And I have added this workflow to a ruleset. But on the target repo, this required workflow is getting skipped right after the PR is created. Doesn't this feature support trigger event "labelled" ? |
Beta Was this translation helpful? Give feedback.
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
-
Are there any plans to have this enabled at a repository level? We're under an enterprise license so have all the relevant permissions to enable it however requiring this organisation wide is not always necessary or the simplest option for us. Ideally there should be one of the following options
We're experiencing a lot of difficulties where we're having to duct tape solutions together for enforcing PR workflows passing when the only two options (unless I'm missing something) currently are
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