From bb4d06cf1fa70e97d131dab08fa8ca03f3c34bf4 Mon Sep 17 00:00:00 2001 From: Vacha Date: Tue, 8 Feb 2022 15:06:32 -0800 Subject: [PATCH] Using Github App to trigger CI for auto-backport (#2071) Signed-off-by: Vacha Shah --- .github/workflows/backport.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 7937acadfc7..e47d8d88c02 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -13,8 +13,16 @@ jobs: pull-requests: write name: Backport 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 uses: VachaShah/backport@v1.1.4 with: - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ steps.github_app_token.outputs.token }} branch_name: backport/backport-${{ github.event.number }}