This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch 
fix/security-zizmor-self-repository-postgres-setup
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 09f53d52d88a3e20d3e7f98e5409ee7c56f11bab
Author: rusackas <[email protected]>
AuthorDate: Tue Sep 8 18:22:59 2026 -0700

    fix(security): suppress zizmor self-repository false positive for postgres 
setup step
    
    cached-dependencies is a git submodule, so the $/ self-repository syntax
    can't resolve it; keep the ./ form with a scoped zizmor suppression,
    matching the pattern used elsewhere in this workflow for the same action.
    
    Resolves code-scanning alert #2657.
    
    Co-Authored-By: Claude Sonnet 5 <[email protected]>
---
 .github/workflows/superset-python-integrationtest.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/superset-python-integrationtest.yml 
b/.github/workflows/superset-python-integrationtest.yml
index 5a9cc6c3863..e2db20b51b2 100644
--- a/.github/workflows/superset-python-integrationtest.yml
+++ b/.github/workflows/superset-python-integrationtest.yml
@@ -164,7 +164,13 @@ jobs:
         with:
           python-version: ${{ matrix.python-version }}
       - name: Setup Postgres
-        uses: ./.github/actions/cached-dependencies
+        # cached-dependencies is a git submodule (not a plain directory), and
+        # the $/ self-repository syntax resolves action files directly from
+        # the repository without performing a real (submodule-aware)
+        # checkout, so it can't see into a submodule's gitlink. Keep this one
+        # on the workspace-relative ./ form, consistent with every other
+        # workflow in the repo that references this action.
+        uses: ./.github/actions/cached-dependencies # zizmor: 
ignore[self-repository] - $/ cannot resolve an action that lives in a 
submodule; ./ is required here
         with:
           run: |
             setup-postgres

Reply via email to