rusackas opened a new pull request, #43975: URL: https://github.com/apache/superset/pull/43975
### SUMMARY `zizmor`'s `self-repository` audit flags `uses: ./...` references to in-repo composite actions because that workspace-relative form isn't recognized as a "pinned" reference and, unlike GitHub's dedicated self-repository syntax (`uses: $/...`), can be influenced by whatever a prior step has checked out into the workspace. This PR switches the local action references in `superset-python-presto-hive.yml` to the `$/...` form (generated via `zizmor --fix`). Resolves code-scanning alert #2667 (and sibling `self-repository` alerts #2662, #2663, #2664, #2665, #2666, #2668, which point at the same file). ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF N/A (workflow YAML only) ### TESTING INSTRUCTIONS - `pre-commit run --files .github/workflows/superset-python-presto-hive.yml` passes (includes the `zizmor` hook) - `zizmor .github/workflows/superset-python-presto-hive.yml` reports 0 `self-repository` findings after the change - CI should trigger and run this workflow the same as before, since `$/...` and `./...` resolve to the same in-repo action content ### 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 -- 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]
