From 299ed9671f86a82881ec41edbf4657b147bef9e1 Mon Sep 17 00:00:00 2001 From: leocs2417 Date: Mon, 5 Jan 2026 11:15:06 +0800 Subject: [PATCH 1/2] fix: update ci publish settings --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 25df807..00893d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,11 +6,17 @@ on: pull_request: branches: [main] +permissions: + contents: write + id-token: write + jobs: release: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - uses: actions/setup-node@v3 with: node-version: lts/* @@ -30,7 +36,6 @@ jobs: - run: npx semantic-release --branches main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Notify update to group run: node notify.mjs From ac34342b28264b31a8669a76bb0f0871184146e0 Mon Sep 17 00:00:00 2001 From: leocs2417 Date: Mon, 5 Jan 2026 11:47:49 +0800 Subject: [PATCH 2/2] fix: update ci --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00893d0..3242900 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,7 @@ jobs: - run: npx semantic-release --branches main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Notify update to group run: node notify.mjs