Use PAT to publish prs to bcr on release
This commit is contained in:
parent
fbb26dc678
commit
73bfc53660
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue