Skip to content

Commit ea7a3e4

Browse files
committed
fix: use pat for bcr mirror
1 parent bbe8047 commit ea7a3e4

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/bcr.yml

+3-6
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ env:
3030
# String containing submitters to tag
3131
SUBMITTERS: "@alexeagle, @kormide"
3232

33+
TOKEN: ${{ secrets.BCR_ALEXEAGLE_PAT }}
34+
3335
jobs:
3436
bcr-pull-request:
3537
runs-on: ubuntu-latest
@@ -52,18 +54,13 @@ jobs:
5254
with:
5355
repository: ${{ env.BCR }}
5456
path: bcr
55-
- uses: tibdex/github-app-token@v1
56-
id: generate-token
57-
with:
58-
app_id: ${{ secrets.BCR_APP_ID }}
59-
private_key: ${{ secrets.BCR_APP_PRIVATE_KEY }}
6057
- name: Create bcr entry
6158
run: node .github/workflows/create-bcr-entry.mjs project bcr $GITHUB_REPOSITORY ${{ steps.get_tag.outputs.TAG }}
6259
- name: Create Pull Request
6360
id: post_pr
6461
uses: peter-evans/create-pull-request@v4
6562
with:
66-
token: ${{ steps.generate-token.outputs.token }}
63+
token: ${{ env.TOKEN }}
6764
path: bcr
6865
push-to-fork: ${{ env.BCR_FORK }}
6966
commit-message: ${{ github.repository }}@${{ steps.get_tag.outputs.TAG }}

0 commit comments

Comments
 (0)