You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "rusackas (via GitHub)" <gi...@apache.org> on 2026/09/09 11:42:42 UTC

[PR] fix(security): suppress zizmor self-repository false positive for playwright test-data step [superset]

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

   ### SUMMARY
   zizmor's `self-repository` audit flags `uses: ./.github/actions/cached-dependencies` in the "Import test data" step of `superset-playwright.yml`, suggesting GitHub's dedicated `$/...` self-repository syntax instead of `./...`.
   
   `cached-dependencies` is a git submodule (not a plain directory), and `$/` resolves action files directly from the repository without a real, submodule-aware checkout — it can't see into the submodule's gitlink. Converting this reference to `$/` breaks the step at runtime (as previously discovered and reverted for the same action elsewhere — see #43972 / 16d9ca1a337). This PR instead keeps the `./` form and adds a scoped `zizmor: ignore[self-repository]` suppression with a comment explaining why, matching the pattern already used for every other `cached-dependencies` occurrence.
   
   Resolves code-scanning alert #2646 (https://github.com/apache/superset/security/code-scanning/2646).
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   N/A (CI workflow only)
   
   ### TESTING INSTRUCTIONS
   - `zizmor .github/workflows/superset-playwright.yml` no longer flags the "Import test data" step (finding is now suppressed via the scoped ignore comment).
   - `pre-commit run --files .github/workflows/superset-playwright.yml` passes, including the `zizmor (GHA security audit)` hook.
   
   ### 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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(security): suppress zizmor self-repository false positive for playwright test-data step [superset]

Posted by "bito-code-review[bot] (via GitHub)" <gi...@apache.org>.
bito-code-review[bot] commented on PR #44075:
URL: https://github.com/apache/superset/pull/44075#issuecomment-5601274087

   AI Code Review is in progress (usually takes 3 to 15 minutes unless it's a very large PR).


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [PR] fix(security): suppress zizmor self-repository false positive for playwright test-data step [superset]

Posted by "hainenber (via GitHub)" <gi...@apache.org>.
hainenber merged PR #44075:
URL: https://github.com/apache/superset/pull/44075


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org