From 3858f8545349d95ba3e2526ed8fab74f4ed3ede6 Mon Sep 17 00:00:00 2001 From: Seungwoo321 Date: Tue, 13 May 2025 14:00:00 +0900 Subject: [PATCH] chore: update workflows --- .../workflows/release-lazy-table-renderer.yml | 25 ++++++++++++------- .github/workflows/release-vue-pivottable.yml | 1 - 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release-lazy-table-renderer.yml b/.github/workflows/release-lazy-table-renderer.yml index 7530ddf..5f28a76 100644 --- a/.github/workflows/release-lazy-table-renderer.yml +++ b/.github/workflows/release-lazy-table-renderer.yml @@ -18,7 +18,7 @@ jobs: id-token: write steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -54,18 +54,25 @@ jobs: cd packages/lazy-table-renderer 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: main - base: release + 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 diff --git a/.github/workflows/release-vue-pivottable.yml b/.github/workflows/release-vue-pivottable.yml index 9c31e1f..076aeb1 100644 --- a/.github/workflows/release-vue-pivottable.yml +++ b/.github/workflows/release-vue-pivottable.yml @@ -59,7 +59,6 @@ jobs: git fetch origin release:release git reset --hard release - name: Create Pull Request - if: success() uses: peter-evans/create-pull-request@v5 with: branch: release-to-main