From 5a16e67d2be719dfd44384aa2afec45b3cd52da5 Mon Sep 17 00:00:00 2001 From: nickreynolds Date: Tue, 9 Apr 2024 23:47:29 -0400 Subject: [PATCH] fix: use gh_token again --- .github/workflows/build-test-publish-on-push.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-test-publish-on-push.yml b/.github/workflows/build-test-publish-on-push.yml index bf8e088..846d411 100644 --- a/.github/workflows/build-test-publish-on-push.yml +++ b/.github/workflows/build-test-publish-on-push.yml @@ -11,7 +11,7 @@ jobs: env: NPM_TOKEN: ${{secrets.NPM_TOKEN}} NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - GH_TOKEN: ${{secrets.GITHUB_TOKEN}} + GH_TOKEN: ${{secrets.GH_TOKEN}} GH_USER: ${{secrets.GH_USER}} GH_EMAIL: ${{secrets.GH_EMAIL}} runs-on: ubuntu-latest @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.GH_TOKEN }} - uses: pnpm/action-setup@v2 with: version: 8 @@ -57,7 +57,7 @@ jobs: needs: build-test-publish env: NPM_TOKEN: ${{secrets.NPM_TOKEN}} - GH_TOKEN: ${{secrets.GITHUB_TOKEN}} + GH_TOKEN: ${{secrets.GH_TOKEN}} GH_USER: ${{secrets.GITHUB_USER}} GH_EMAIL: ${{secrets.GITHUB_EMAIL}} runs-on: ${{ matrix.os }} @@ -70,7 +70,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.GH_TOKEN }} ref: ${{ github.ref }} - uses: pnpm/action-setup@v2 @@ -89,7 +89,7 @@ jobs: - name: Build/release Electron app uses: paneron/action-electron-builder@v1.8.1 with: - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.GH_TOKEN }} # If the commit is tagged with a version (e.g. "v1.0.0"), # release the app after building