Revert "fix: use pat for bcr mirror"

This reverts commit ea7a3e4549.
This commit is contained in:
Alex Eagle 2022-05-17 09:10:06 -07:00
parent 97ef0a21fd
commit ba519a9e1f
1 changed files with 6 additions and 3 deletions

View File

@ -30,8 +30,6 @@ env:
# String containing submitters to tag
SUBMITTERS: "@alexeagle, @kormide"
TOKEN: ${{ secrets.BCR_ALEXEAGLE_PAT }}
jobs:
bcr-pull-request:
runs-on: ubuntu-latest
@ -54,13 +52,18 @@ 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: ${{ env.TOKEN }}
token: ${{ steps.generate-token.outputs.token }}
path: bcr
push-to-fork: ${{ env.BCR_FORK }}
commit-message: ${{ github.repository }}@${{ steps.get_tag.outputs.TAG }}