summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2025-05-14 14:07:38 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-05-14 15:08:52 +0900
commita7af85a7bd844b54586a867202fc9eb3550df3bf (patch)
tree9b05786ef8600b04846b557b1fa3ceab002089be
parentaf7413054460c9fe2afb394d163dd4418f84f8bd (diff)
Use gh cache
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13330
-rw-r--r--.github/workflows/codeql-analysis.yml6
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 }}