Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Commit 86e1c5f

Browse files
authored
Merge pull request #41 from blbrdv/cicd/fix_cache_removal
Add action permissions
2 parents 8636d57 + bc4774d commit 86e1c5f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/remove_pr_cache.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@ jobs:
1010
clear:
1111
name: Remove old Pull Requests cache
1212

13+
permissions:
14+
actions: write
15+
1316
runs-on: ubuntu-24.04
1417

1518
steps:
1619
- uses: actions/checkout@v4
1720

18-
- name: List
21+
- name: Remove old cache
1922
run: |
2023
closed_prs=$(gh pr list --state closed --json number,title | jq -c '.[]')
2124

0 commit comments

Comments
 (0)