Skip to content

Commit 08becf6

Browse files
authored
Merge branch 'master' into action-fix-docs
2 parents 66b190b + a2c8717 commit 08becf6

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Automatic PR Merger
2+
3+
on:
4+
push: {} # update PR when base branch is updated
5+
status: {} # try to merge when other checks are completed
6+
pull_request_review: # try to merge after review
7+
types:
8+
- submitted
9+
- edited
10+
- dismissed
11+
pull_request: # try to merge if labels have changed (white/black list)
12+
types:
13+
- labeled
14+
- unlabeled
15+
16+
jobs:
17+
# thats's all. single step is needed - if PR is mergeable according to
18+
# branch protection rules it will be merged automatically
19+
mergepal:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v2
23+
- uses: rasahq/[email protected]
24+
with:
25+
token: ${{ secrets.RASABOT_AUTOMERGE_GITHUB_TOKEN }}

.github/workflows/continous-integration.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,3 +261,12 @@ jobs:
261261
pip install -U github3.py pypandoc
262262
python3 scripts/publish_gh_release_notes.py
263263
./scripts/ping_slack_about_package_release.sh
264+
265+
mergepal-merge: # run merge pal in the end
266+
runs-on: ubuntu-latest
267+
needs: [quality, test, api, docker]
268+
steps:
269+
- uses: actions/checkout@v1
270+
- uses: rasahq/[email protected]
271+
with:
272+
token: ${{ secrets.RASABOT_AUTOMERGE_GITHUB_TOKEN }}

.mergepal.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
whitelist:
2+
- status:ready-to-merge
3+
method: merge

0 commit comments

Comments
 (0)