Using Github App to trigger CI for auto-backport (#2071)

Signed-off-by: Vacha Shah <vachshah@amazon.com>
This commit is contained in:
Vacha 2022-02-08 15:06:32 -08:00 committed by GitHub
parent dd9e7cfa31
commit bb4d06cf1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -13,8 +13,16 @@ jobs:
pull-requests: write pull-requests: write
name: Backport name: Backport
steps: steps:
- name: GitHub App token
id: github_app_token
uses: tibdex/github-app-token@v1.5.0
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
installation_id: 22958780
- name: Backport - name: Backport
uses: VachaShah/backport@v1.1.4 uses: VachaShah/backport@v1.1.4
with: with:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ steps.github_app_token.outputs.token }}
branch_name: backport/backport-${{ github.event.number }} branch_name: backport/backport-${{ github.event.number }}