Skip to content

Update merge-me.yml #403

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 8 additions & 16 deletions .github/workflows/merge-me.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Merge me!
name: bot-auto-merge

on:
check_suite:
Expand All @@ -7,22 +7,14 @@ on:

jobs:
merge-me:
name: Merge me!
name: Auto-merge passing bot PRs
runs-on: ubuntu-latest
steps:
- name: Merge me!
uses: ridedott/[email protected]
- name: Auto-merge passing dependabot PRs
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: ridedott/merge-me-action@v2
with:
# Depending on branch protection rules, a manually populated
# `GITHUB_TOKEN_WORKAROUND` environment variable with permissions to
# push to a protected branch must be used. This variable can have an
# arbitrary name, as an example, this repository uses
# `GITHUB_TOKEN_DOTTBOTT`.
#
# When using a custom token, it is recommended to leave the following
# comment for other developers to be aware of the reasoning behind it:
#
# This must be used as GitHub Actions token does not support
# pushing to protected branches.
# For clarity only. dependabot is default.
GITHUB_LOGIN: dependabot
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MERGE_METHOD: MERGE
ENABLED_FOR_MANUAL_CHANGES: "true"