derrickaw opened a new pull request, #41499:
URL: https://github.com/apache/beam/pull/41499

   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` / 
`zizmor`) on `master` without altering intended public API or workflow semantics
   - The fix is minimal, idiomatic, and avoids suppressing alerts or masking 
underlying 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 **12** open Code Scanning findings (`CodeQL` + `zizmor`) in 
`.github/workflows/typescript_tests.yml`:
     - **CodeQL `actions/missing-workflow-permissions`** (`#38`, `#40`, `#41`, 
`#42`) & **`zizmor/excessive-permissions`** (`#1754`, `#1755`, `#1756`, 
`#1757`, `#1758`): adds explicit least-privilege top-level `permissions: 
contents: read` across all four read-only test jobs.
     - **`zizmor/cache-poisoning`** (`High / error`, `#3490`, `#3491`, 
`#3492`): sets `package-manager-cache: false` on all three 
`actions/setup-node@v7` steps so default automatic npm cache sharing is 
disabled on tag/push workflow triggers.
   
   ## Verification
   - `./gradlew :beam-test-gha:preCommit`
   - Validated YAML syntax via PyYAML
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to