Skip to content

Commit

Permalink
replace camerons action with secrets.GITHUB_TOKEN (#919)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann authored Apr 23, 2024
1 parent 8d8895c commit b601d82
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,6 @@ jobs:
- name: Build tokens
run: npm run build:next

- id: get-access-token
uses: camertron/github-app-installation-auth-action@v1
with:
app-id: ${{ vars.PRIMER_APP_ID_SHARED }}
private-key: ${{ secrets.PRIMER_APP_PRIVATE_KEY_SHARED }}
client-id: ${{ vars.PRIMER_APP_CLIENT_ID_SHARED }}
client-secret: ${{ secrets.PRIMER_APP_CLIENT_SECRET_SHARED }}
installation-id: ${{ vars.PRIMER_APP_INSTALLATION_ID_SHARED }}

- name: Create release pull request or publish to npm
id: changesets
uses: changesets/action@v1.4.7
Expand All @@ -48,7 +39,7 @@ jobs:
# This expects you to have a script called release which does a build for your packages and calls changeset publish
publish: npm run release
env:
GITHUB_TOKEN: ${{ steps.get-access-token.outputs.access-token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}

- name: Output release version to summary
Expand Down

0 comments on commit b601d82

Please sign in to comment.