Skip to content

Commit

Permalink
fix: use gh_token again (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickreynolds committed Apr 10, 2024
1 parent e7b4b23 commit a1bf788
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-test-publish-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ 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
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GH_TOKEN }}
- uses: pnpm/action-setup@v2
with:
version: 8
Expand Down Expand Up @@ -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 }}
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a1bf788

Please sign in to comment.