Add zizmor to checks.yaml; Address all zizmor --pedantic complaints#46
Conversation
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
|
^ I've never seen that GitHub bot comment before. I wonder if it's because of the advanced-security setting defaulting to true? |
Yeah, that would be my guess. My bad for missing that instruction from the docs. Given this part:
it sounds like whatever I "staged" to be switched on will be un-staged when I change this setting in my next commit. |
|
Thanks for the approval. I'm going to test the updated |
Part of the effort to add zizmor to all our projects for improved GitHub Actions security.
Specifying permissions on the reusable workflows defined in this project saves us the effort of specifying those permissions repeatedly in every place where they are used.
Testing:
I'm working on similar changes in rtr right now, so I'll check that these changes are safe by temporarily pointing rtr's usages of the
asanaanddeploy-ecsworkflows at the head of this branch.