Also have zizmor check for low-severity security issues#14893
Merged
AlexWaygood merged 1 commit intoastral-sh:mainfrom Dec 12, 2024
Merged
Also have zizmor check for low-severity security issues#14893AlexWaygood merged 1 commit intoastral-sh:mainfrom
AlexWaygood merged 1 commit intoastral-sh:mainfrom
Conversation
32a767e to
faed5d0
Compare
faed5d0 to
9faad62
Compare
9faad62 to
4c5b011
Compare
dylwil3
pushed a commit
that referenced
this pull request
Dec 12, 2024
## Summary The release failed (https://github.com/astral-sh/ruff/actions/runs/12298190472/job/34321509636) because the shell script in the Docker release workflow was using single quotes instead of double quotes. This is related to https://www.shellcheck.net/wiki/SC2016. I found it via [`actionlint`](https://github.com/rhysd/actionlint). Related #14893. I also went ahead and fixed https://www.shellcheck.net/wiki/SC2086 which were raised in a couple of places.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR changes our zizmor configuration to also flag low-severity security issues in our GitHub Actions workflows. It's a followup to #14844. The issues being fixed here were all flagged by zizmor's
template-injectionrule:[...]
Test Plan
I tested that this passes all zizmore warnings by running
pre-commit run -a zizmorlocally. The other test is obviously to check that the workflows all still run correctly in CI 😄