From 4f403aa75be480800aab3e66325992e1b8ee308c Mon Sep 17 00:00:00 2001 From: Ryu Sato Date: Sat, 4 May 2024 01:02:26 +0900 Subject: [PATCH] add github token --- .github/workflows/misc-remove_cache.yaml | 2 ++ 1 file changed, 2 insertions(+) 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 }}