File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,18 +19,18 @@ jobs:
19
19
id : dependabot-metadata
20
20
uses : dependabot/fetch-metadata@v1.1.1
21
21
with :
22
- github-token : " ${{ secrets.GITHUB_TOKEN }}"
22
+ github-token : " ${{ secrets.BOT }}"
23
23
# Here the PR gets approved.
24
24
- name : Approve a PR
25
25
run : gh pr review --approve "$PR_URL"
26
26
env :
27
27
PR_URL : ${{ github.event.pull_request.html_url }}
28
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28
+ GITHUB_TOKEN : ${{ secrets.BOT }}
29
29
# Finally, this sets the PR to allow auto-merging for patch and minor
30
30
# updates if all checks pass
31
31
- name : Enable auto-merge for Dependabot PRs
32
32
if : ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
33
33
run : gh pr merge --auto --squash "$PR_URL"
34
34
env :
35
35
PR_URL : ${{ github.event.pull_request.html_url }}
36
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36
+ GITHUB_TOKEN : ${{ secrets.BOT }}
You can’t perform that action at this time.
0 commit comments