Skip to content

Commit 35c687c

Browse files
committed
ci: update workflows
1 parent 0a3449f commit 35c687c

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

.github/workflows/create-release-pr.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff 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은 메인 브랜치의 변경사항을 릴리즈 브랜치로 동기화합니다.
@@ -57,9 +41,3 @@ jobs:
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 }}"

0 commit comments

Comments
 (0)