We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 54278a4 + 1e5b075 commit fde0616Copy full SHA for fde0616
.github/workflows/cache_cleanup.yml
@@ -1,4 +1,4 @@
1
-# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/caching-dependencies-to-speed-up-workflows#force-deleting-cache-entries
+# https://github.com/actions/cache/blob/main/tips-and-workarounds.md#force-deletion-of-caches-overriding-default-cache-eviction-policy
2
name: 🧹 Cache Cleanup
3
on:
4
pull_request:
@@ -9,6 +9,10 @@ jobs:
9
cleanup:
10
name: Cleanup PR caches
11
runs-on: ubuntu-latest
12
+ permissions:
13
+ # `actions:write` permission is required to delete caches
14
+ actions: write
15
+ contents: read
16
steps:
17
- name: Cleanup
18
env:
0 commit comments