Path filters for org-level workflow rulesets #198653
Replies: 1 comment
-
|
💬 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.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Product Feedback
💬 Feature/Topic Area
Workflow Configuration
Discussion Details
The Require workflows to pass before merging Ruleset is very powerful. You can use it to define a PR check workflow once, and then enforce it on pull requests in every repo in your org.
At Expensify, we currently use this to enforce certain security practices in our GitHub Actions and Workflows. I'd love to expand this to run other kinds of checks globally:
This would potentially allow us to centralize lots of our configuration, making configuration easier and promoting better code consistency/quality across our org.
However, there's an important limitation which makes this less appealing than it might otherwise be. From the docs:
I'm sure there was some reason for this, but it means that every workflow runs on every PR, even in contexts where it doesn't make sense. Currently, we accept this cost for our GitHub Workflow checks. But it's inconvenient (particularly during GitHub incidents) because even if it's pretty quick, the workflow needs to run and we must to manually examine the diff to see if the checks need to run.
If the
pathsfilter worked for workflows triggered by Rulesets, we could skip workflows entirely on PRs where they aren't relevant.Beta Was this translation helpful? Give feedback.
All reactions