Skip to content

Commit c8d3a30

Browse files
authored
Update merge-me.yml (#403)
1 parent 0ef6de1 commit c8d3a30

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

.github/workflows/merge-me.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Merge me!
1+
name: bot-auto-merge
22

33
on:
44
check_suite:
@@ -7,22 +7,14 @@ on:
77

88
jobs:
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-
uses: ridedott/merge-me-action@v2.10.17
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"

0 commit comments

Comments
 (0)