Skip to content

Commit

Permalink
fix(workflow): compute branch name from pull_request number (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored Dec 16, 2022
1 parent c576fa1 commit d96cc97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cache-cleanup-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
gh extension install actions/gh-actions-cache
REPO=${{ github.repository }}
BRANCH=${{ github.head_ref }}
BRANCH="refs/pull/${{ github.event.pull_request.number }}/merge"
echo "Fetching list of cache key"
cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 )
Expand Down

0 comments on commit d96cc97

Please sign in to comment.