Skip to content

ci(security): scope GITHUB_TOKEN permissions in spanner-failure-injection-tests.yml - #4616

Merged
derrickaw merged 2 commits into
mainfrom
codescan/actions-spanner-fi-permissions
Nov 23, 2026
Merged

derrickaw merged 2 commits into
mainfrom
codescan/actions-spanner-fi-permissions

Conversation

@derrickaw

@derrickaw derrickaw commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Note: this PR was auto-generated by tooling. Before moving it out of draft, the author has done a full review of the PR, specifically evaluating it on the following criteria:

  • The PR remediates confirmed, live Code Scanning finding(s) (CodeQL / Scorecard / zizmor) on main that are not already covered by upcoming Apache Beam releases, without altering intended template or workflow semantics
  • The fix is minimal, idiomatic, respects Dataflow Templates release-label and lockfile policies, and avoids suppressing alerts or masking defects
  • Relevant unit tests, linters, and CI checks have been verified

If you have concerns with the PR or with the underlying methodology used to generate this, please comment below - they will be addressed by the author not the tooling :)

Summary

Resolves OpenSSF Scorecard Token-Permissions (TokenPermissionsID, #333) in .github/workflows/spanner-failure-injection-tests.yml:

Verification

  • Triggered spanner-failure-injection-tests.yml workflow_dispatch run on branch: 45239808136
@derrickaw derrickaw added cleanup ignore-for-release github_actions Pull requests that update GitHub Actions code labels Nov 22, 2026
@derrickaw

Copy link
Copy Markdown
Contributor Author

/gemini review

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@derrickaw derrickaw added the ready-for-human Draft PR checks passed and ready for human review label Nov 22, 2026
@derrickaw derrickaw removed the ready-for-human Draft PR checks passed and ready for human review label Nov 23, 2026
@derrickaw

Copy link
Copy Markdown
Contributor Author

/gemini review

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@derrickaw derrickaw added the ready-for-human Draft PR checks passed and ready for human review label Nov 23, 2026
@derrickaw
derrickaw marked this pull request as ready for review November 23, 2026 19:57
@derrickaw
derrickaw requested a review from a team as a code owner November 23, 2026 19:57
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@derrickaw
derrickaw merged commit 0c92edd into main Nov 23, 2026
16 checks passed
@derrickaw
derrickaw deleted the codescan/actions-spanner-fi-permissions branch November 23, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cleanup github_actions Pull requests that update GitHub Actions code ignore-for-release ready-for-human Draft PR checks passed and ready for human review size/XS

2 participants