From 8a6f2b2fbf7a41fd700c48b2b5195d8e0f327fd0 Mon Sep 17 00:00:00 2001 From: Lukas Oppermann Date: Tue, 23 Apr 2024 08:38:39 +0200 Subject: [PATCH] replace camerons action with secrets.GITHUB_TOKEN --- .github/workflows/release.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 470bfec8d..b34d4ac54 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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