From d9261b55a18300913a7c91a4d68acc83c225bef6 Mon Sep 17 00:00:00 2001 From: ThinLiquid Date: Wed, 17 Jan 2024 18:49:32 +0000 Subject: [PATCH 1/2] ci: fixed `token` property in wrong area --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4d039bf..231ee11 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,11 +20,11 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 + token: ${{ secrets.PAT }} - name: Setup Node.js uses: actions/setup-node@v3 with: node-version: "lts/*" - token: ${{ secrets.PAT }} - name: Install dependencies run: npm clean-install - name: Verify the integrity of provenance attestations and registry signatures for installed dependencies From 6b80b4ab25210d7c19f07ad342a01ab15cb9226b Mon Sep 17 00:00:00 2001 From: ThinLiquid Date: Wed, 17 Jan 2024 19:00:57 +0000 Subject: [PATCH 2/2] ci: fix `token` not being read --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 231ee11..8f6730a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,5 +31,6 @@ jobs: run: npm audit signatures - name: Release env: + GH_TOKEN: ${{ secrets.PAT }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: npx semantic-release \ No newline at end of file