diff --git a/.github/workflows/bandit.yml b/.github/workflows/bandit.yml index d447d30..c45b9cc 100644 --- a/.github/workflows/bandit.yml +++ b/.github/workflows/bandit.yml @@ -37,6 +37,8 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: token: ${{ secrets.RELEASE_TOKEN }} + persist-credentials: false + - name: Run Bandit - Generate SARIF report and check for HIGH severity issues id: high_severity_check @@ -53,7 +55,7 @@ jobs: echo "No HIGH severity issues found!" fi - - name: Upload SARIF to GitHub Security tab + - name: Upload SARIF to GitHub CodeQL uses: github/codeql-action/upload-sarif@ce28f5bb42b7a9f2c824e633a3f6ee835bab6858 # v3.29.0 with: sarif_file: results.sarif