File tree Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Expand file tree Collapse file tree 1 file changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -27,28 +27,12 @@ jobs:
2727 private_key : ${{ secrets.APP_PRIVATE_KEY }}
2828 installation_id : ${{ secrets.APP_INSTALLATION_ID }}
2929
30- - name : Create branch and PR
31- run : |
32- git config --global user.name "GitHub Actions"
33- git config --global user.email "[email protected] " 34-
35- # 고유한 브랜치 이름 생성
36- BRANCH_NAME="sync-main-to-release-$(date +'%Y%m%d-%H%M%S')"
37- git checkout -b $BRANCH_NAME
38-
39- # GitHub App 토큰을 사용하여 브랜치 푸시
40- git remote set-url origin https://x-access-token:${{ steps.generate-token.outputs.token }}@github.com/${{ github.repository }}
41- git push origin $BRANCH_NAME
42-
4330 - name : Create Pull Request
44- id : create_pr
4531 uses : peter-evans/create-pull-request@v5
4632 with :
4733 token : ${{ steps.generate-token.outputs.token }}
48- commit-message : ' chore: sync main to release'
49- branch : sync-main-to-release-$(date +'%Y%m%d-%H%M%S')
50- delete-branch : false
5134 base : release
35+ branch : main
5236 title : ' chore: sync main to release'
5337 body : |
5438 이 PR은 메인 브랜치의 변경사항을 릴리즈 브랜치로 동기화합니다.
5741 labels : |
5842 automated-pr
5943 sync-to-release
60-
61- - name : PR Details
62- if : steps.create_pr.outputs.pull-request-number
63- run : |
64- echo "::notice::Pull Request created: #${{ steps.create_pr.outputs.pull-request-number }}"
65- echo "::notice::View it here: ${{ steps.create_pr.outputs.pull-request-url }}"
You can’t perform that action at this time.
0 commit comments