Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 12 additions & 20 deletions .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,23 @@ jobs:
pull-requests: write

steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
ref: release

- name: Generate GitHub App Token
id: generate-token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
installation_id: ${{ secrets.APP_INSTALLATION_ID }}
- name: Reset main branch
run: |
git fetch origin main:main
git reset --hard main

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
uses: peter-evans/create-pull-request@v7
with:
token: ${{ steps.generate-token.outputs.token }}
base: main
branch: release
branch: main-to-release
commit-message: 'chore: sync main to release'
title: 'chore: sync main to release'
body: |
이 PR은 메인 브랜치의 변경사항을 릴리즈 브랜치로 동기화합니다.
이 PR은 main 브랜치의 변경사항을 release 브랜치로 동기화합니다.

이 PR이 머지되면 릴리즈 워크플로우가 자동으로 트리거됩니다.
labels: |
automated-pr
sync-to-release
이 PR이 머지되면 release 워크플로우가 자동으로 트리거됩니다.
delete-branch: true
4 changes: 2 additions & 2 deletions .github/workflows/release-lazy-table-renderer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: release
base: main
branch: main
base: release
title: 'chore: update version to latest release'
body: |
This PR updates the main branch with the latest version information from the release branch.
Expand Down
26 changes: 17 additions & 9 deletions .github/workflows/release-vue-pivottable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -50,18 +50,26 @@ jobs:
run: |
pnpm dlx semantic-release

- name: Create Pull Request to main
- uses: actions/checkout@v4
with:
ref: main

- name: Reset main branch
run: |
git fetch origin release:release
git reset --hard release
- name: Create Pull Request
if: success()
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: release
base: main
branch: release-to-main
commit-message: 'chore: update version to latest release'
title: 'chore: update version to latest release'
body: |
This PR updates the main branch with the latest version information from the release branch.
이 PR은 release 브랜치의 최신 버전 정보로 main 브랜치를 업데이트합니다.

- Updates package.json version
- Updates CHANGELOG.md
- package.json 버전 업데이트
- CHANGELOG.md 업데이트

This PR was automatically created by the release workflow.
이 PR은 release 워크플로우에 의해 자동으로 생성되었습니다.
delete-branch: true