-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
CI: Hash pin all GH actions + configure dependabot for those. #1417
Conversation
Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
It'll generate a single monthly PR with updates on all relevant github actions Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
Implemented as discussed at prometheus#1294 and already implemented at prometheus/prometheus Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds like a good improvement!
Do I understand it correctly that dependabot also updates the human-readable comment, alongside the commit SHA?
Yes it does! =D |
I did this for you (: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Gosh, sorry about that hehe, but thanks! |
Closes #1416
As mentioned on the issue, this PR enhances project security by hash-pinning the dependencies that are called under dangerous permissions and configuring dependabot to automatically update them. Additionally, I've also used this PR to contribute with the nit-pick I've mentioned on commentaries at #1294; those changes will ensure all workflows are running with minimal permissions.
I configured dependabot in a way that all of version updates will be collapsed in a single PR sent monthly -- this avoids noisy PRs, which is a common concern haha. Regardless of the frequency chosen, for the case of security updates a PR with the fixed version would be sent right away.