From 9051b78d36580f4304d1b1bd794a1c5a49bf751e Mon Sep 17 00:00:00 2001 From: Charles OuGuo Date: Mon, 15 Jul 2024 22:32:30 -0400 Subject: [PATCH] Give cache-cleaning workflow permissions to access caches (#256) - **Add workflow to delete cache entry upon PR merge** - **Give permission** --- .github/workflows/cleanup-pr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/cleanup-pr.yml b/.github/workflows/cleanup-pr.yml index 8985f34c..3839d00c 100644 --- a/.github/workflows/cleanup-pr.yml +++ b/.github/workflows/cleanup-pr.yml @@ -7,6 +7,8 @@ on: jobs: cleanup: runs-on: ubuntu-latest + permissions: + actions: write steps: - name: Cleanup run: |