Skip to content

Commit

Permalink
Merge pull request #532 from DanielKotik/cleanup-caches
Browse files Browse the repository at this point in the history
Grant workflows triggered by PR from access to secrets:
  • Loading branch information
DanielKotik authored May 31, 2024
2 parents 0ddea7c + 5644c59 commit 8a1e411
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/cleanup-caches.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Cleanup caches
on:
pull_request:
pull_request_target:
types:
- closed

Expand All @@ -20,6 +20,7 @@ jobs:
echo "Deleting caches..."
for cacheKey in $cacheKeysForPR
do
echo $cacheKey
gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm
done
echo "Done"
Expand Down

0 comments on commit 8a1e411

Please sign in to comment.