-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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/Build] Use commit hash references for github actions #9430
Conversation
This changes the references to github actions to use commit hashes instead of tag names. These will be updated automatically by dependabot. GitHub recommends this approach as a security best-practice. The reason is that a bad actor can modify what a tag points to if access to a repository is compromised. The hash is a more concrete reference. For more info on this, see "Referencing actions" in this blog post: https://securitylab.github.com/resources/github-actions-building-blocks/ Signed-off-by: Russell Bryant <rbryant@redhat.com>
👋 Hi! Thank you for contributing to the vLLM project. Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can do one of these:
🚀 |
How does this interact with #1217? Can we make the bot open a PR with the hash instead of the version number? (Although that might defeat the purpose of this PR...) |
Also cc @simon-mo |
Yes, dependabot handles this correctly. It will update the hashes. |
Here is a sample PR that shows how dependabot does updates in this style: instructlab/instructlab#2418 |
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 for the explanation! It should be fine then. I'll leave it to @simon-mo for the final approval.
…t#9430) Signed-off-by: charlifu <charlifu@amd.com>
…t#9430) Signed-off-by: Vinay Damodaran <vrdn@hey.com>
…t#9430) Signed-off-by: Alvant <alvasian@yandex.ru>
…t#9430) Signed-off-by: Amit Garg <mitgarg17495@gmail.com>
…t#9430) Signed-off-by: qishuai <ferdinandzhong@gmail.com>
This changes the references to github actions to use commit hashes
instead of tag names. These will be updated automatically by
dependabot.
GitHub recommends this approach as a security best-practice. The
reason is that a bad actor can modify what a tag points to if access
to a repository is compromised. The hash is a more concrete reference.
For more info on this, see "Referencing actions" in this blog post:
https://securitylab.github.com/resources/github-actions-building-blocks/
Signed-off-by: Russell Bryant rbryant@redhat.com