You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2026/09/07 19:33:32 UTC

(superset) 01/01: fix(security): use self-repository syntax for setup-backend ref in unit-test workflow

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

rusackas pushed a commit to branch fix/security-self-repository-syntax-unittest-workflow
in repository https://gitbox.apache.org/repos/asf/superset.git

commit a0e11ae3971dbee731c552845da3374bfd32393c
Author: rusackas <ev...@rusackas.com>
AuthorDate: Mon Sep 7 12:33:01 2026 -0700

    fix(security): use self-repository syntax for setup-backend ref in unit-test workflow
    
    Resolves code-scanning alert #2670
    
    zizmor's self-repository audit flags workspace-relative `uses: ./...`
    references to in-repo actions/workflows in favor of GitHub's dedicated
    `$/...` self-repository syntax, which resolves the action at the exact
    commit running the workflow without depending on runtime filesystem
    state (e.g. an action cloned in a previous step), and is treated as a
    pinning mechanism by GitHub's own policy enforcement.
---
 .github/workflows/superset-python-unittest.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/superset-python-unittest.yml b/.github/workflows/superset-python-unittest.yml
index 75cf669af56..528a96a8d3e 100644
--- a/.github/workflows/superset-python-unittest.yml
+++ b/.github/workflows/superset-python-unittest.yml
@@ -60,7 +60,7 @@ jobs:
           persist-credentials: false
           submodules: recursive
       - name: Setup Python
-        uses: ./.github/actions/setup-backend/
+        uses: $/.github/actions/setup-backend/
         with:
           python-version: ${{ matrix.python-version }}
       - name: Python unit tests