File tree Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Expand file tree Collapse file tree 1 file changed +8
-16
lines changed Original file line number Diff line number Diff line change 1- name : Merge me!
1+ name : bot-auto-merge
22
33on :
44 check_suite :
77
88jobs :
99 merge-me :
10- name : Merge me!
10+ name : Auto-merge passing bot PRs
1111 runs-on : ubuntu-latest
1212 steps :
13- - name : Merge me!
14- 13+ - name : Auto-merge passing dependabot PRs
14+ if : ${{ github.event.workflow_run.conclusion == 'success' }}
15+ uses : ridedott/merge-me-action@v2
1516 with :
16- # Depending on branch protection rules, a manually populated
17- # `GITHUB_TOKEN_WORKAROUND` environment variable with permissions to
18- # push to a protected branch must be used. This variable can have an
19- # arbitrary name, as an example, this repository uses
20- # `GITHUB_TOKEN_DOTTBOTT`.
21- #
22- # When using a custom token, it is recommended to leave the following
23- # comment for other developers to be aware of the reasoning behind it:
24- #
25- # This must be used as GitHub Actions token does not support
26- # pushing to protected branches.
17+ # For clarity only. dependabot is default.
18+ GITHUB_LOGIN : dependabot
2719 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28- MERGE_METHOD : MERGE
20+ ENABLED_FOR_MANUAL_CHANGES : " true "
You can’t perform that action at this time.
0 commit comments