Skip to content

Commit

Permalink
ultra conservative checkout, see if this works
Browse files Browse the repository at this point in the history
  • Loading branch information
angusbayley committed Nov 1, 2024
1 parent 8a22dd8 commit 7e7d3f0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release-prepare-hotfix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ jobs:
- name: Checkout Repo (develop branch)
uses: actions/checkout@v4
with:
ref: ${{ env.main_ref }}
ref: develop
token: ${{ steps.generate-token.outputs.token }}
fetch-depth: 0

- name: Checkout Repo (hotfix branch)
uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
token: ${{ steps.generate-token.outputs.token }}
- name: Fetch hotfix branch
run: |
git fetch origin ${{ inputs.ref }}:${{ inputs.ref }}
git checkout ${{ inputs.ref }}
- name: Setup git user
uses: ./tools/actions/composites/setup-git-user
Expand Down

0 comments on commit 7e7d3f0

Please sign in to comment.