Skip to content

Commit

Permalink
Backport bot use github app
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek authored and pmalek-sumo committed Mar 4, 2021
1 parent 4304ec1 commit 8fe9aa0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/backport_bot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,16 @@ jobs:
runs-on: ubuntu-20.04
name: Backport
steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ secrets.BACKPORT_APP_ID }}
private_key: ${{ secrets.BACKPORT_PRIVATE_KEY }}
# Optional (defaults to the current repository).
# repository: owner/repo

- name: Backport
uses: tibdex/backport@v1
with:
github_token: ${{ secrets.BACKPORT_BOT_PAT }}
github_token: ${{ steps.generate_token.outputs.token }}

0 comments on commit 8fe9aa0

Please sign in to comment.