Conversation
|
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
f2a70bc to
e61a004
Compare
858ed78 to
659c3eb
Compare
|
Does this need some change to |
|
we might also want to consider adding this: https://github.com/zizmorcore/zizmor-pre-commit |
Adding a pre-commit action would definitely make it more transparent, but then we would end up with both the zizmor pre-commit hook and the zizmor action in the pipeline.
We could use this as a starting point to improve the documentation of the actions we're using, because right now we don't explicitly documented any of them. |
sounds like a plan, right now a lot of it is implicitly covered by us using pre-commit for linting and doxing the actions setup properly would for sure be beneficial |
64c6024 to
218b2bb
Compare
|
I just noticed that this only seems to scan for issues in the changed code, and not across the board. Are we sure that this is what we want? |
Are you sure? Since the default value for |
This change might count and we'd need to update the docs as well. Also, we could also consider adding zizmor via zizmor-pre-commit. I'm not quite 100% sure what the best way to go is atm. |
218b2bb to
213b260
Compare
|
Just to reiterate, i have zero plans to introduce any new actions before we haven't landed most of the proposed changes from here in separate atomic commits to main. Backporting changes like cooldown to this PR won't change my mind, we need to fix main before we introduce more audit capabilities. |
213b260 to
73d09a1
Compare
When I messed up the hash to the python-setup action I got both a warning and an error as an annotation. And we should get a "secrets-outside-env" warning anyway. |
yupp, verified that one with the screenshot above... do we know how to action the "secrets-outside-env" warning yet? btw, running |
The warning is only present in the |
wouldn't we end up using the environments feature if we follow through on this? IMO envs add quite a bit of complexity that goes beyond isolating a bunch of CI secrets. I think we need to understand the proposed envs solution better before we are sure it won't block anything in the long run |
|
I ended up doing radiorabe/actions#199 for myself, the included ASF reference apache/infrastructure-actions#608 makes me conclude our dd on introducing zizmor with a strong "do it asap in this repo" recommendation. I'd also like to create a new We should also figure out how we can help sustain the zizmor in a meaningful way, sound obvious, but is also well worth stating here. |



Description
This PR introduces zizmor to scan the security of our GitHub Actions
Issues
n/a
Checklist
artifacthub.io/changesannotation inChart.yaml, check the example in the documentation.pre-commit rundocs/