File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161 - name : Set up git for pushing
6262 run : |
6363 git remote set-url origin https://x-access-token:${{ steps.generate_token.outputs.token }}@github.com/${{ github.repository }}.git
64+ - name : Set git user for HawkyMcBuilderFace bot
65+ run : |
66+ git config user.name "${{ secrets.HAWKY_APP_USER }}"
67+ git config user.email "${{ secrets.HAWKY_APP_USER_EMAIL }}"
68+ - name : Fetch and checkout latest main
69+ run : |
70+ git fetch origin main
71+ git checkout origin/main
6472 - name : Show current branch and HEAD
6573 run : |
6674 git branch -a
@@ -104,6 +112,10 @@ jobs:
104112 run : |
105113 git config user.name "${{ secrets.HAWKY_APP_USER }}"
106114 git config user.email "${{ secrets.HAWKY_APP_USER_EMAIL }}"
115+ - name : Fetch and checkout latest main
116+ run : |
117+ git fetch origin main
118+ git checkout origin/main
107119 - name : Bump patch version with bumpver
108120 run : bumpver update --patch --commit
109121 - name : Push version bump commit
You can’t perform that action at this time.
0 commit comments