diff --git a/.github/workflows/misc-remove_cache.yaml b/.github/workflows/misc-remove_cache.yaml index 43876896..e3e7820d 100644 --- a/.github/workflows/misc-remove_cache.yaml +++ b/.github/workflows/misc-remove_cache.yaml @@ -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 }}