-
Notifications
You must be signed in to change notification settings - Fork 57
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
GitHub Actions should be referenced by SHA not tag #208
Comments
I realize I'm pretty late to this, but I agree FWIW. This repo doesn't do tagged releases, since it would be pretty disruptive to get dependabot updates for each action when only one action had a meaningful release. Having a bunch of single-action individually-tagged repos proliferate around also sounds pretty annoying, to be honest. In the absence of releases, consumers should reference actions by SHA instead of |
Isn't this the Unix philosophy and exactly what Dependabot is designed to handle? IMHO this would be significantly less complex than dealing with SHAs directly, especially to figure out if a subfolder action needed it reference changing. My personal, and I thought widely acknowledged, opinion is that monorepos work where the tooling and integrations can be engineered as one. For repos hosting GitHub Actions this isn't the case (currently) and as such attempting to use a monorepo is going to be fighting against the system instead of working with it. |
this has inverse problem that dependabot does not know how to update such SHA of the branch. Could we at least make digestbot be able to update SHA of github actions branches? |
Just like how container images should be referenced by digest, GitHub actions should be referenced by SHA and not tag. Dependabot can handle this pattern including keeping the tag used next to the SHA as a comment.
The text was updated successfully, but these errors were encountered: