Skip to content

Commit

Permalink
ci: use github app for backport credentials (pomerium#2369)
Browse files Browse the repository at this point in the history
  • Loading branch information
travisgroth committed Jul 16, 2021
1 parent cef08a1 commit d453c90
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/backport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}"

0 comments on commit d453c90

Please sign in to comment.