File tree Expand file tree Collapse file tree 10 files changed +59
-27
lines changed Expand file tree Collapse file tree 10 files changed +59
-27
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 8
8
pull_request :
9
9
types : [opened]
10
10
jobs :
11
- label :
11
+ run :
12
12
runs-on : ubuntu-latest
13
13
steps :
14
+ - uses : bubkoo/use-app-token@v1
15
+ id : generate_token
16
+ with :
17
+ app_id : ${{ secrets.APP_ID }}
18
+ private_key : ${{ secrets.PRIVATE_KEY }}
14
19
-
uses :
Naturalclar/[email protected]
15
20
with :
16
- github-token : ${{ secrets.bot_token }}
21
+ github-token : ${{ steps.generate_token.outputs.token }}
17
22
title-or-body : title
18
23
parameters : >
19
24
[
Original file line number Diff line number Diff line change 3
3
schedule :
4
4
- cron : 0 0 * * *
5
5
jobs :
6
- lock :
6
+ run :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
+ - uses : bubkoo/use-app-token@v1
10
+ id : generate_token
11
+ with :
12
+ app_id : ${{ secrets.APP_ID }}
13
+ private_key : ${{ secrets.PRIVATE_KEY }}
9
14
- uses : dessant/lock-threads@v2
10
15
with :
11
- github-token : ${{ secrets.bot_token }}
16
+ github-token : ${{ steps.generate_token.outputs.token }}
12
17
issue-lock-inactive-days : 365
13
18
issue-lock-comment : >
14
19
This thread has been automatically locked because it has not had recent
Original file line number Diff line number Diff line change 8
8
run :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
+ - uses : bubkoo/use-app-token@v1
12
+ id : generate_token
13
+ with :
14
+ app_id : ${{ secrets.APP_ID }}
15
+ private_key : ${{ secrets.PRIVATE_KEY }}
11
16
- uses : bubkoo/needs-more-info@v1
12
17
with :
13
- GITHUB_TOKEN : ${{ secrets.bot_token }}
18
+ GITHUB_TOKEN : ${{ steps.generate_token.outputs.token }}
14
19
CONFIG_FILE : .github/workflows/config/needs-more-info.yml
15
20
Original file line number Diff line number Diff line change 6
6
run :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
+ - uses : bubkoo/use-app-token@v1
10
+ id : generate_token
11
+ with :
12
+ app_id : ${{ secrets.APP_ID }}
13
+ private_key : ${{ secrets.PRIVATE_KEY }}
9
14
- uses : bubkoo/potential-duplicates@v1
10
15
with :
11
- GITHUB_TOKEN : ${{ secrets.bot_token }}
16
+ GITHUB_TOKEN : ${{ steps.generate_token.outputs.token }}
Original file line number Diff line number Diff line change 3
3
pull_request :
4
4
types : [opened]
5
5
jobs :
6
- label :
6
+ run :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
+ - uses : bubkoo/use-app-token@v1
10
+ id : generate_token
11
+ with :
12
+ app_id : ${{ secrets.APP_ID }}
13
+ private_key : ${{ secrets.PRIVATE_KEY }}
9
14
- uses : TimonVS/pr-labeler-action@v3
10
15
with :
11
- GITHUB_TOKEN : ${{ secrets.bot_token }}
16
+ GITHUB_TOKEN : ${{ steps.generate_token.outputs.token }}
12
17
configuration-path : .github/workflows/config/pr-label-branch-name.yml
Original file line number Diff line number Diff line change 1
1
name : 🏷️ Label(Patch Size)
2
2
on : pull_request
3
3
jobs :
4
- label :
4
+ run :
5
5
runs-on : ubuntu-latest
6
6
steps :
7
7
- uses : actions/checkout@v2
8
+ - uses : bubkoo/use-app-token@v1
9
+ id : generate_token
10
+ with :
11
+ app_id : ${{ secrets.APP_ID }}
12
+ private_key : ${{ secrets.PRIVATE_KEY }}
8
13
-
uses :
pascalgn/[email protected]
9
14
env :
10
- GITHUB_TOKEN : " ${{ secrets.bot_token }}"
15
+ GITHUB_TOKEN : " ${{ steps.generate_token.outputs.token }}"
11
16
IGNORED : " !.gitignore\n yarn.lock"
Original file line number Diff line number Diff line change 3
3
issue_comment :
4
4
types : [created]
5
5
jobs :
6
- rebase :
6
+ run :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
9
- uses : actions/checkout@v2
10
+ - uses : bubkoo/use-app-token@v1
11
+ id : generate_token
12
+ with :
13
+ app_id : ${{ secrets.APP_ID }}
14
+ private_key : ${{ secrets.PRIVATE_KEY }}
10
15
- uses : cirrus-actions/rebase@master
11
16
env :
12
- GITHUB_TOKEN : ${{ secrets.bot_token }}
17
+ GITHUB_TOKEN : ${{ steps.generate_token.outputs.token }}
Original file line number Diff line number Diff line change 6
6
run :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
+ - uses : bubkoo/use-app-token@v1
10
+ id : generate_token
11
+ with :
12
+ app_id : ${{ secrets.APP_ID }}
13
+ private_key : ${{ secrets.PRIVATE_KEY }}
9
14
- uses : actions/stale@v3
10
15
with :
11
- repo-token : ${{ secrets.bot_token }}
16
+ repo-token : ${{ steps.generate_token.outputs.token }}
12
17
stale-issue-message : >
13
18
Hiya!
14
19
Original file line number Diff line number Diff line change 8
8
run :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
+ - uses : bubkoo/use-app-token@v1
12
+ id : generate_token
13
+ with :
14
+ app_id : ${{ secrets.APP_ID }}
15
+ private_key : ${{ secrets.PRIVATE_KEY }}
11
16
- uses : bubkoo/welcome-action@v1
12
17
with :
13
- GITHUB_TOKEN : ${{ secrets.bot_token }}
18
+ GITHUB_TOKEN : ${{ steps.generate_token.outputs.token }}
14
19
FIRST_ISSUE : >
15
20
👋 @{{ author }}
16
21
You can’t perform that action at this time.
0 commit comments