File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 12
12
runs-on : ubuntu-latest
13
13
continue-on-error : true
14
14
steps :
15
+ - uses : actions/create-github-app-token@v1
16
+ id : app-token
17
+ with :
18
+ app-id : ${{ vars.OCTOKIT_APP_ID }}
19
+ private-key : ${{ secrets.OCTOKIT_APP_PRIVATE_KEY }}
20
+ owner : octokit
15
21
16
22
with :
17
23
project-url : https://github.com/orgs/octokit/projects/10
18
- github-token : ${{ secrets.OCTOKITBOT_PROJECT_ACTION_TOKEN }}
24
+ github-token : ${{ steps.app-token.outputs.token }}
19
25
labeled : " Status: Stale"
20
26
label-operator : NOT
Original file line number Diff line number Diff line change 9
9
update :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
+ - uses : actions/create-github-app-token@v1
13
+ id : app-token
14
+ with :
15
+ app-id : ${{ vars.OCTOKIT_APP_ID }}
16
+ private-key : ${{ secrets.OCTOKIT_APP_PRIVATE_KEY }}
17
+ owner : octokit
12
18
- uses : actions/checkout@v4
13
19
- uses : actions/setup-node@v4
14
20
with :
19
25
- name : create pull request
20
26
21
27
env :
22
- GITHUB_TOKEN : ${{ secrets.OCTOKITBOT_PAT }}
28
+ GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
23
29
with :
24
30
title : 🚧 🤖📯 Webhooks changed
25
31
body :
You can’t perform that action at this time.
0 commit comments