Skip to content

Commit

Permalink
ci: 👷 checkout latest state for release action
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuel Ruck authored and ManAnRuck committed Oct 21, 2023
1 parent 14545b8 commit b4681ed
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ jobs:
fetch-depth: 0
token: ${{ secrets.PAT }} # use PAT to being able to push to protected branch later on

- run: git checkout ${{ github.event.repository.default_branch }}
- name: Checkout latest default branch
run: |
git checkout ${{ github.event.repository.default_branch }}
git pull origin ${{ github.event.repository.default_branch }}
if: ${{ contains(github.ref, github.event.repository.default_branch) }}

- uses: pnpm/action-setup@v2
Expand Down

0 comments on commit b4681ed

Please sign in to comment.