From 174505c32aec6fbfe930d1d67df39ac3910c0075 Mon Sep 17 00:00:00 2001 From: Andrew Calcutt Date: Tue, 13 Sep 2022 10:16:21 -0400 Subject: [PATCH] Update token to NODE_PRE_GYP_GITHUB_TOKEN (#467) --- .github/workflows/node-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node-release.yml b/.github/workflows/node-release.yml index bb073547f..5ab62e2a7 100644 --- a/.github/workflows/node-release.yml +++ b/.github/workflows/node-release.yml @@ -27,7 +27,7 @@ jobs: with: submodules: recursive fetch-depth: 0 - token: ${{ secrets.CR_PAT }} + token: ${{ secrets.NODE_PRE_GYP_GITHUB_TOKEN }} - name: Setup node uses: actions/setup-node@v3 @@ -166,7 +166,7 @@ jobs: npm run package npm run release env: - NODE_PRE_GYP_GITHUB_TOKEN: ${{ secrets.CR_PAT }} + NODE_PRE_GYP_GITHUB_TOKEN: ${{ secrets.NODE_PRE_GYP_GITHUB_TOKEN }} - name: Publish to NPM (release) if: matrix.os == 'ubuntu-20.04' && matrix.node == '18' && github.ref == 'refs/heads/main' && github.event.inputs.version != 'prerelease'