Commit 08a11dc 1 parent 300097a commit 08a11dc Copy full SHA for 08a11dc
File tree 1 file changed +12
-3
lines changed
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,26 @@ jobs:
14
14
id : metadata
15
15
uses : dependabot/fetch-metadata@v2
16
16
with :
17
- github-token : ' ${{ secrets.GITHUB_TOKEN }}'
17
+ # https://github.com/settings/tokens/new
18
+ # Expiration: No expiration
19
+ # Select: repo.*
20
+ github-token : ' ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}'
18
21
- name : Approve PR
19
22
run : gh pr review --approve "$PR_URL"
20
23
env :
21
24
PR_URL : ${{github.event.pull_request.html_url}}
22
- GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
25
+ # https://github.com/settings/tokens/new
26
+ # Expiration: No expiration
27
+ # Select: repo.*
28
+ GH_TOKEN : ${{secrets.GH_PERSONAL_ACCESS_TOKEN}}
23
29
- name : Enable auto-merge
24
30
run : gh pr merge --auto --squash "$PR_URL"
25
31
env :
26
32
PR_URL : ${{github.event.pull_request.html_url}}
27
- GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
33
+ # https://github.com/settings/tokens/new
34
+ # Expiration: No expiration
35
+ # Select: repo.*
36
+ GH_TOKEN : ${{secrets.GH_PERSONAL_ACCESS_TOKEN}}
28
37
contributors :
29
38
runs-on : ubuntu-latest
30
39
if : github.event.pull_request.user.login == 'github-actions[bot]'
You can’t perform that action at this time.
0 commit comments