We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c576fa1 commit d96cc97Copy full SHA for d96cc97
.github/workflows/cache-cleanup-branch.yml
@@ -17,7 +17,7 @@ jobs:
17
gh extension install actions/gh-actions-cache
18
19
REPO=${{ github.repository }}
20
- BRANCH=${{ github.head_ref }}
+ BRANCH="refs/pull/${{ github.event.pull_request.number }}/merge"
21
22
echo "Fetching list of cache key"
23
cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 )
0 commit comments