rusackas opened a new pull request, #41484:
URL: https://github.com/apache/superset/pull/41484

   ### SUMMARY
   
   zizmor's `ref-version-mismatch` rule flagged the `actions/cache` step in 
`release.yml` (and the same pin in `pre-commit.yml`): the action is pinned to 
commit `27d5ce7f107fe9357f9df03efb73ab90386fccae`, which is tag **`v5.0.5`**, 
but the trailing comment read `# v5`. The `v5` moving tag points to a different 
commit (`caa2961...`), so the comment was untruthful.
   
   This corrects the comment to the exact version the SHA actually resolves to 
(`# v5.0.5`), matching the exact-version pin convention already used throughout 
the workflows (e.g. `actions/checkout ... # v6.0.3`, 
`actions/dependency-review-action ... # v5.0.0`). The pinned SHA is unchanged, 
so the actual action version that runs is identical.
   
   Resolves code-scanning alert #2552.
   
   ### BEFORE/AFTER
   
   Before: `uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5`
   After:  `uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # 
v5.0.5`
   
   ### TESTING INSTRUCTIONS
   
   `pre-commit run zizmor --files .github/workflows/release.yml 
.github/workflows/pre-commit.yml` passes; the alert no longer fires.
   
   ### ADDITIONAL INFORMATION
   
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
   - [ ] Migration is atomic, supports rollback & is backwards-compatible
   - [ ] Confirm DB migration upgrade and downgrade tested
   - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to