mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-07 21:32:54 +02:00
ci: use github app for backport credentials (#2369)
This commit is contained in:
parent
cef08a1c2d
commit
d453c90fb6
1 changed files with 8 additions and 1 deletions
9
.github/workflows/backport.yaml
vendored
9
.github/workflows/backport.yaml
vendored
|
@ -10,8 +10,15 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Backport
|
name: Backport
|
||||||
steps:
|
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
|
- name: Backport
|
||||||
uses: tibdex/backport@v1
|
uses: tibdex/backport@v1
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ steps.generate_token.outputs.token }}
|
||||||
title_template: "{{originalTitle}}"
|
title_template: "{{originalTitle}}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue