-
Notifications
You must be signed in to change notification settings - Fork 9
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
Implement shared workflows #30
Comments
I am taking over this ticket.
|
Feel free to tag me as the reviewer for all of these PRs. |
@bstrie I started working with my test organization and repeated the example with the commisery. However, I think I found an issue in your approach. As written the rules do not apply to the .github repo when one creates patches for it. So we need different files in the workflows directory in the repo:
Also, I played with the automerge. I found this: This brings a different question. |
Next steps:
|
Github supports sharing workflows between repos in an organization:
https://docs.github.com/en/enterprise-cloud@latest/actions/using-workflows/reusing-workflows
https://docs.github.com/en/enterprise-cloud@latest/actions/creating-actions/sharing-actions-and-workflows-with-your-enterprise
Make a list of workflows that should be shared among multiple repos (commit message checker, license checker, cargo clippy, cargo fmt, dependabot, etc.) and implement them as shared workflows so that we can avoid duplicating them across every repo.
Candidates for shared workflows:
The first step for each of these is to define them as shared workflows in this repo. Once that is done, we should go through every other repo and reference the workflows from any repo that wants to use these.
The text was updated successfully, but these errors were encountered: