https://github.com/cleanlab/merge-bot
https://github.com/cleanlab/merge-bot
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/cleanlab/merge-bot
- Owner: cleanlab
- License: mit
- Created: 2022-11-01T03:33:53.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T01:16:58.000Z (almost 2 years ago)
- Last Synced: 2025-03-06T19:45:47.258Z (over 1 year ago)
- Language: Python
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# merge-bot
This action manages deployments by auto-merging PRs.
PRs are auto-merged after checks for:
- Review approvals by all requested reviewers
- All listed `dependent_checks` are passing
- PR is not labeled with `blocking_label`
PRs can be merged by fast-forwarding or a merge commit.
## Example Workflow
An example workflow is shown below. This workflow runs the `merge-bot` each time one of the below events occurs:
```yaml
name: 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-bot:
runs-on: ubuntu-latest
steps:
- uses: cleanlab/merge-bot@v1.1.0
with:
dependent_checks: "check1,check2"
blocking_label: "block-merge"
merge_type: "fast-forward"
delete_branch: true
```