This repository was archived by the owner on Oct 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 1515 - name : Extract version from milestone
1616 run : |
1717 VERSION="${{ github.event.milestone.title }}"
18- echo "::set-env name= RELEASE_VERSION:: $VERSION"
18+ echo "RELEASE_VERSION= $VERSION" >> $GITHUB_ENV
1919
2020 - name : Create release branch
2121 run : git checkout -b release-${{ env.RELEASE_VERSION }}
@@ -25,15 +25,16 @@ jobs:
2525 with :
2626 version : v${{ env.RELEASE_VERSION }}
2727
28- - name : Initialize git config
28+ - name : Initialize git config and commit changes
2929 run : |
3030 git config user.name "GitHub Actions"
3131 git config user.email [email protected] 32+ git commit "Prepare release $RELEASE_VERSION"
3233
3334 - name : Create Pull Request
34- uses : peter-evans/create- pull-request@v3
35+ uses : repo-sync/ pull-request@v2
3536 with :
36- commit-message : " Prepare release ${{ env.RELEASE_VERSION }}"
37- branch : release-${{ env.RELEASE_VERSION }}
38- base : release
39- title : Release ${{ env.RELEASE_VERSION }}
37+ source_branch : release- ${{ env.RELEASE_VERSION }}
38+ destination_branch : release
39+ pr_title : Release ${{ env.RELEASE_VERSION }}
40+ github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments