File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1313 GH_TOKEN : ${{ github.token }}
1414
1515 steps :
16- - uses : actions/checkout@v3
16+ - uses : actions/checkout@v4
1717
1818 - name : Create Pull Request to the next higher release version
1919
@@ -33,10 +33,13 @@ jobs:
3333 NEXT_BRANCH="main"
3434 set -x
3535 fi
36+ git -v
37+ git config user.name "github-actions[bot]"
38+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com" git checkout $NEXT_BRANCH
3639 git checkout $NEXT_BRANCH
3740 FROM=${{github.event.commits[0].id}}
3841 TO=${{github.event.head_commit.id}}
39- git cherry-pick -X theirs $FROM || true
40- gh pr create
42+ git cherry-pick -X theirs $TO || true
43+ gh pr create \
4144 --title "Auto PR from release/$CURRENT_VERSION" \
4245 --body 'Created by Github action'
You can’t perform that action at this time.
0 commit comments