-
Notifications
You must be signed in to change notification settings - Fork 10
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
Using hashes for all actions #81
Conversation
@@ -21,10 +21,10 @@ jobs: | |||
if: github.repository == 'scientific-python/upload-nightly-action' | |||
|
|||
steps: | |||
- uses: actions/checkout@v4 | |||
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 |
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.
@tupui you said that maybe we had to use hash:hash ?
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.
I'm slightly less concerned about these for projects that are known. But maybe I don't understand @tupui's point.
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.
I am trying to find where I read that 😅 Still digging but yes the hack was that if you had a branch named as the hash, then it would be picked up. In the article they were mentioning some protections from GitHub but there was still a way to do the hack IIRC.
Normal for CI to fail? |
I believe it is expected to fails for all but @matthewfeickert |
No, it has nothing to do with my account, it just will always fail if a PR from a fork as the CI requires secrets that are repo/org specific, as described in #32 (comment) |
SGTM, so let's merge. |
Oh, ok. I haven't realized that you didn't open your PRs from your fork, just noticed that those all have the green tickmarks while the rest are crossed out. |
No description provided.