Skip to content

Commit

Permalink
Merge pull request #629 from weseek/support/add-github-token
Browse files Browse the repository at this point in the history
support: Add github token to workflow of remove cache
  • Loading branch information
ryu-sato authored May 3, 2024
2 parents 4cb6072 + 4f403aa commit f9827db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/misc-remove_cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ jobs:
for ID in $(gh cache list --json id,createdAt | jq ".[].createdAt |= (sub(\"\\\\..*Z\";\"Z\") | fromdateiso8601 < `expr $(date +%s) - 60 \* 60`)" | jq -r '.[].id');
do gh cache delete $ID;
done
env:
GH_TOKEN: ${{ github.token }}

0 comments on commit f9827db

Please sign in to comment.