-
Notifications
You must be signed in to change notification settings - Fork 81
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
workflows: address zizmor findings #1397
base: main
Are you sure you want to change the base?
Conversation
Identified with zizmor: https://github.com/woodruffw/zizmor Signed-off-by: William Woodruff <[email protected]>
NB: I set Edit: NB 2: I also didn't add a |
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.
Thank you, nice work.
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 think I was too fast with the approval :)
|
||
env: | ||
METADATA_URL: ${{ inputs.metadata_url }} | ||
IDENTITY: ${{ github.server_url }}/${{ github.repository }}/.github/workflows/custom-test.yml@${{ github.ref }} | ||
|
||
jobs: | ||
sigstore-python: | ||
permissions: |
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.
This would need to be replicated to all jobs in this file, as they all will request an id-token to use the ephemeral key flow to sign.
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.
Whoops, thanks for catching that! I missed that there were other individual jobs that did signing. Will fix now.
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.
Done -- FWICT only two other jobs do signing, so I added it to each.
I will carry over all findings to root-signing-staging too, so we can first test them there (just to be sure). edit: spelling error |
Signed-off-by: William Woodruff <[email protected]>
Summary
Addresses a handful of findings identified by
zizmor
: https://github.com/woodruffw/zizmorcc @jku
Release Note
No functional changes.
Documentation
No functional changes.