parent
97ef0a21fd
commit
ba519a9e1f
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue