diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/codeql.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index fad20e2..e00adf7 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -68,3 +68,5 @@ jobs: uses: github/codeql-action/analyze@v2 with: category: "/language:${{matrix.language}}" + ref: "${{ github.ref != 'master' && github.ref || '/refs/heads/master' }}" + sha: "${{ github.sha }}" |