-
-
Notifications
You must be signed in to change notification settings - Fork 86
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
Determine best way to include composite actions #919
Comments
The easiest thing to do would be to change the reusable workflow references to local reusable workflows. It looks like you're already using local references for the render-readme workflow. containers/.github/workflows/release-on-merge.yaml Lines 37 to 42 in 9ee194d
Happy to get you a PR to update the other ones if it's helpful. Composite actions are a bit different. You'd have to convert the reusable workflows to Thanks for maintaining this project. Lots of useful container images. |
There was an issue with using local reusable workflows and I honestly can't recall what it was, maybe @JJGadgets or @bjw-s remember 😄 |
I found the previous discussion on it here |
I don't agree with that comment. PRs can always run "with a modified version of the workflow." Any other PR could make the same change shown in #918 (comment) and Actions would run that change. I don't think the
|
At the time that we were building this workflow system, I believe we tested this and it would ever only run the workflow contents from the main branch even if the PR specified something else, making this the "easiest" way to do this at the time. Of course insights evolve and we should iterate on / revisit previous results so if there are better ways to do these things today we should definitely take a look at them (when time permits) |
Currently we use hardcoded repo paths
onedr0p/containers/.github/workflows/simple-checks.yaml@main
in certian steps, it would be great to figure out how to make that more generic for people who are forking this repo and want to build their own containers.The text was updated successfully, but these errors were encountered: