diff options
| -rw-r--r-- | .github/workflows/codeql-analysis.yml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e2dc43c883..3aeed41b0a 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -123,8 +123,6 @@ jobs: - name: Purge the oldest TRAP cache if: ${{ github.repository == 'ruby/ruby' && matrix.language == 'cpp'}} - run: | - gh extension install actions/gh-actions-cache - gh actions-cache list --key codeql --order asc --limit 1 | cut -f 1 | xargs -I{} gh actions-cache delete {} --confirm + run: gh cache list --key codeql --order asc --limit 1 --json key --jq '.[].key' | xargs -I{} gh cache delete {} env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.MATZBOT_GITHUB_WORKFLOW_TOKEN }} |
