Skip to content

Commit

Permalink
fix(abort-release-candidate): pass PAT to checkout (#173)
Browse files Browse the repository at this point in the history
This allows the checkout action to checkout the `release` branch using the PAT token provided which has the required permission scopes for resetting.
  • Loading branch information
Zidious authored May 28, 2024
1 parent fce4751 commit 45bf5f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/abort-release-candidate-v1/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ runs:
fetch-depth: 0
# Checkout the release branch so we can get the release candidate version and reset it to the base branch later
ref: 'release'
# PAT has required permissions force pushing when the `release` branch is checked out
token: ${{ inputs.token }}

- name: Get release candidate version
shell: bash
Expand Down

0 comments on commit 45bf5f7

Please sign in to comment.