-
Notifications
You must be signed in to change notification settings - Fork 4
40 lines (36 loc) · 1.3 KB
/
update-prs.yml
File metadata and controls
40 lines (36 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Update GitGitGadget's PRs
on:
# GitGitGadget's GitHub App is expected to trigger this on `seen` updates
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
jobs:
update-prs:
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v2
id: gitgitgadget-git-token
with:
app-id: ${{ secrets.GITGITGADGET_GITHUB_APP_ID }}
private-key: ${{ secrets.GITGITGADGET_GITHUB_APP_PRIVATE_KEY }}
owner: gitgitgadget
repositories: git
- uses: actions/create-github-app-token@v2
id: git-git-token
with:
app-id: ${{ secrets.GITGITGADGET_GIT_GITHUB_APP_ID }}
private-key: ${{ secrets.GITGITGADGET_GIT_GITHUB_APP_PRIVATE_KEY }}
owner: git
repositories: git
- uses: actions/create-github-app-token@v2
id: dscho-git-token
with:
app-id: ${{ secrets.GITGITGADGET_GIT_GITHUB_APP_ID }}
private-key: ${{ secrets.GITGITGADGET_GIT_GITHUB_APP_PRIVATE_KEY }}
owner: dscho
repositories: git
- uses: gitgitgadget/gitgitgadget/update-prs@v1
with:
pr-repo-token: ${{ steps.gitgitgadget-git-token.outputs.token }}
upstream-repo-token: ${{ steps.git-git-token.outputs.token }}
test-repo-token: ${{ steps.dscho-git-token.outputs.token }}