diff --git a/.github/workflows/cache-cleanup-weekly.yml b/.github/workflows/cache-cleanup-weekly.yml index 225503f2894f8..6da31f7354457 100644 --- a/.github/workflows/cache-cleanup-weekly.yml +++ b/.github/workflows/cache-cleanup-weekly.yml @@ -7,6 +7,9 @@ on: jobs: cleanup: runs-on: ubuntu-latest + if: github.repository_owner == 'pandas-dev' + permissions: + actions: write steps: - name: Clean Cache run: |