From 177eee0ce697602cfdf9150a7596083fe22b72cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Fri, 11 Oct 2024 16:30:14 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=20GitHub=20=E4=BB=A4?= =?UTF-8?q?=E7=89=8C=E5=88=B0=20CI=20=E9=85=8D=E7=BD=AE=E4=BB=A5=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E5=8F=91=E5=B8=83=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yaml | 1 + .releaserc.yaml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4dbcce9..79a7b68 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,6 +23,7 @@ jobs: id: semantic env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} after-release: runs-on: ubuntu-latest diff --git a/.releaserc.yaml b/.releaserc.yaml index e9abb4a..5c78fa6 100644 --- a/.releaserc.yaml +++ b/.releaserc.yaml @@ -9,6 +9,9 @@ plugins: - - "@semantic-release/npm" # [provenance](https://docs.npmjs.com/generating-provenance-statements#using-third-party-package-publishing-tools) - npmPublish: true + # ############################# + # https://github.com/semantic-release/github?tab=readme-ov-file#configuration + # ############################# - "@semantic-release/github" - - "@semantic-release/git" - message: |-