-
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 951 Bytes
/
merge-me.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Merge Me! Documentation: https://github.com/ridedott/merge-me-action/
name: "Merge Dependabot PRs"
on:
workflow_run:
types:
- "completed"
workflows:
- "Continuous Integration"
jobs:
merge-me:
name: "Merge me!"
runs-on: "ubuntu-latest"
steps:
- name: "Auto-merge"
if: ${{ github.event.workflow_run.conclusion == 'success' }}
uses: "ridedott/merge-me-action@v2.10.56"
with:
# This must be used as GitHub Actions token does not support pushing
# to protected branches.
#
# Create a token with repository permissions:
# https://github.com/settings/tokens/new?scopes=repo&description=Merge+Me!+GitHub+Actions+Workflow
#
# Set MERGE_TOKEN as an environment variable on your repository:
# https://github.com/yourname/repo-name/settings/secrets/actions/new
GITHUB_TOKEN: ${{ secrets.MERGE_TOKEN }}