From f1fd37ae703f84665b644019ee6d730dfd251b97 Mon Sep 17 00:00:00 2001 From: 2heal1 Date: Mon, 3 Aug 2026 20:06:24 +0800 Subject: [PATCH 1/2] fix(release): update action versions in release workflow --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 694fa25e0..5b228e150 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,20 +18,20 @@ jobs: matrix: node-version: [16.14.0] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@0717577d45739eb3c851188b29f50ed6c0b2194e # v2 with: ref: ${{ github.event.inputs.branch }} - name: Pushing to the protected branch 'protected' - uses: zhoushaw/push-protected@v2 + uses: zhoushaw/push-protected@f36ef70ae5f2e6bbd4f7b04da4f1fa3c11bc5a01 # v2 with: token: ${{ secrets.PUSH_TO_PROTECTED_BRANCH }} branch: ${{ github.event.inputs.branch }} - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2 with: node-version: ${{ matrix.node-version }} - name: Cache .pnpm-store - uses: actions/cache@v3 + uses: actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3 with: path: ~/.pnpm-store key: ${{ runner.os }}-node${{ matrix.node-version }}-${{ hashFiles('**/pnpm-lock.yaml') }} From 64788d57bea14b645469a8a1ad1eebaa10599b11 Mon Sep 17 00:00:00 2001 From: 2heal1 Date: Tue, 4 Aug 2026 15:46:05 +0800 Subject: [PATCH 2/2] fix(release): allow changelog release creation --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b228e150..e2c6a9b1e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,6 +13,8 @@ on: jobs: release: + permissions: + contents: write runs-on: ubuntu-latest strategy: matrix: