mirror of
https://github.com/google/brotli.git
synced 2024-11-24 04:20:16 +00:00
Workaround for GitHub / CodeQL bug
Sometimes GitHub Actions uses bare branch name whereas CodeQL always expects ref. See https://github.com/github/codeql-action/issues/796 PiperOrigin-RevId: 550504283
This commit is contained in:
parent
779a49bfd6
commit
dbfebd13dc
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
@ -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 }}"
|
||||
|
Loading…
Reference in New Issue
Block a user