File tree Expand file tree Collapse file tree 2 files changed +43
-43
lines changed Expand file tree Collapse file tree 2 files changed +43
-43
lines changed Original file line number Diff line number Diff line change 1+ name : Create Release PR
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ create-release-pr :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ contents : write
13+ pull-requests : write
14+
15+ steps :
16+ - name : Checkout
17+ uses : actions/checkout@v3
18+ with :
19+ fetch-depth : 0
20+ token : ${{ secrets.GITHUB_TOKEN }}
21+
22+ - name : Generate GitHub App Token
23+ id : generate-token
24+ uses : tibdex/github-app-token@v1
25+ with :
26+ app_id : ${{ secrets.APP_ID }}
27+ private_key : ${{ secrets.APP_PRIVATE_KEY }}
28+ installation_id : ${{ secrets.APP_INSTALLATION_ID }}
29+
30+ - name : Create Pull Request
31+ uses : peter-evans/create-pull-request@v5
32+ with :
33+ token : ${{ steps.generate-token.outputs.token }}
34+ base : release
35+ branch : main
36+ title : ' chore: sync main to release'
37+ body : |
38+ 이 PR은 메인 브랜치의 변경사항을 릴리즈 브랜치로 동기화합니다.
39+
40+ 이 PR이 머지되면 릴리즈 워크플로우가 자동으로 트리거됩니다.
41+ labels : |
42+ automated-pr
43+ sync-to-release
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments