-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[infra] Move first batch of workflows to the public repo #186
[infra] Move first batch of workflows to the public repo #186
Conversation
If these two workflows are always meant to be run together, you can create the re-usable workflow to run them together with the correct logic, so the usage would be simpler name: Issue Cleanup and Order ID validation
on:
issues:
types:
- opened
permissions: {}
jobs:
issue_cleanup_and_validation:
name: Issue Cleanup and Order ID validation
uses: mui/mui-public/.github/workflows/issues_body-cleanup-and-validation.yml@master
permissions:
contents: read
issues: write |
That's exactly it ... they are not! :D order id validation only happens on X, so any other repo would just use name: Issue Cleanup and Order ID validation
on:
issues:
types:
- opened
permissions: {}
jobs:
issue_cleanup:
name: Clean issue body
uses: mui/mui-public/.github/workflows/issues_body-cleanup.yml@master
permissions:
contents: read
issues: write 💪🏼 |
Clearly I didn't think it through 🤣 |
Title says it all.
The intention is to use them in the repos as reusable workflows to allow for a more convenient and aligned structure.
Example usage for "body cleanup" and "order id validation" in the mui-x repo: