Conversation
45b5abe to
c4e91a8
Compare
Can you please clarify why this PR is needed, e.g. what is "mandatory GitHub Actions checks"? |
|
Thanks for asking. By “mandatory GitHub Actions checks,” I meant the repository’s required On the original version of this file, the scan reported four blocking findings in
The scan output is here: https://github.com/google/libprotobuf-mutator/actions/runs/34440003668 This PR fixes those findings by passing the directory through the step environment, quoting it in the shell commands, and pinning checkout to a commit. It also limits the job token to If this scan is not intended to gate the repository, I can close the PR. |
|
I don't have much experience with actions, so I need to do some research to review. So in the main description could you add to each changed item explanation WHY? I'd prefer to keep separate changed to separate PRs, leaving it up to you if you want to split. |
Summary
GITHUB_TOKENto read-only contentsactions/checkoutv3 to its verified commitThis keeps the workflow behavior unchanged while satisfying the mandatory GitHub Actions checks for this repository.
Validation
git diff --check