ci: use github app for backport credentials (#2369)

This commit is contained in:
Travis Groth 2021-07-16 10:30:02 -04:00 committed by GitHub
parent cef08a1c2d
commit d453c90fb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,8 +10,15 @@ jobs:
runs-on: ubuntu-latest
name: Backport
steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.BACKPORT_APP_APPID }}
private_key: ${{ secrets.BACKPORT_APP_PRIVATE_KEY }}
- name: Backport
uses: tibdex/backport@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ steps.generate_token.outputs.token }}
title_template: "{{originalTitle}}"