Skip to content

Commit

Permalink
Merge pull request #57 from vinicioslc/ci/auto-merge-workflow
Browse files Browse the repository at this point in the history
CI: add auto-merge action to merge PRs when they succeed in tests
  • Loading branch information
vinicioslc authored Oct 30, 2022
2 parents 9aa828a + afd4729 commit f7c0db9
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: auto-merge-bot

on:
pull_request:
types:
- labeled
- ready_for_review
- review_request_removed
- review_requested
- synchronize
- unlabeled
pull_request_review:
types:
- dismissed
- submitted

jobs:
merge:
runs-on: ubuntu-latest
name: merge
steps:
- name: do auto merge pr
uses: vinicioslc/merge-bot@latest
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
test: false
reviewers: false
checks_enabled: true
labels: ignore
blocking_labels: do not merge, dont merge, not ready
method: merge
delete_source_branch: false

0 comments on commit f7c0db9

Please sign in to comment.