From 73bfc5366076292d352c60b65098578b3bc9532c Mon Sep 17 00:00:00 2001 From: Derek Cormier Date: Tue, 7 Jun 2022 10:54:08 -0700 Subject: [PATCH] Use PAT to publish prs to bcr on release --- .github/workflows/bcr.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/bcr.yml b/.github/workflows/bcr.yml index acd6131..3ae8f36 100644 --- a/.github/workflows/bcr.yml +++ b/.github/workflows/bcr.yml @@ -49,18 +49,13 @@ jobs: with: repository: ${{ env.BCR }} path: bcr - - uses: tibdex/github-app-token@v1 - id: generate-token - with: - app_id: ${{ secrets.BCR_APP_ID }} - private_key: ${{ secrets.BCR_APP_PRIVATE_KEY }} - name: Create bcr entry run: node .github/workflows/create-bcr-entry.mjs project bcr $GITHUB_REPOSITORY ${{ steps.get_tag.outputs.TAG }} - name: Create Pull Request id: post_pr uses: peter-evans/create-pull-request@v4 with: - token: ${{ steps.generate-token.outputs.token }} + token: ${{ secrets.DEREK_BCR_PAT }} path: bcr push-to-fork: ${{ env.BCR_FORK }} commit-message: ${{ github.repository }}@${{ steps.get_tag.outputs.TAG }}