Disabled TRAP cache of CodeQL again
This commit is contained in:
parent
0964593e5d
commit
081a44f586
Notes:
git
2025-05-21 08:11:27 +00:00
7
.github/workflows/codeql-analysis.yml
vendored
7
.github/workflows/codeql-analysis.yml
vendored
@ -80,6 +80,7 @@ jobs:
|
|||||||
uses: github/codeql-action/init@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
|
uses: github/codeql-action/init@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
|
||||||
with:
|
with:
|
||||||
languages: ${{ matrix.language }}
|
languages: ${{ matrix.language }}
|
||||||
|
trap-caching: false
|
||||||
debug: true
|
debug: true
|
||||||
|
|
||||||
- name: Autobuild
|
- name: Autobuild
|
||||||
@ -120,9 +121,3 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
sarif_file: sarif-results/${{ matrix.language }}.sarif
|
sarif_file: sarif-results/${{ matrix.language }}.sarif
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
||||||
- name: Purge the oldest TRAP cache
|
|
||||||
if: ${{ github.repository == 'ruby/ruby' && matrix.language == 'cpp'}}
|
|
||||||
run: gh cache list --key codeql --order asc --limit 1 --json key --jq '.[].key' | xargs -I{} gh cache delete {}
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.MATZBOT_GITHUB_WORKFLOW_TOKEN }}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user