mirror of
https://github.com/swarm-game/swarm.git
synced 2024-08-16 18:10:23 +03:00
This change configures the mergify bot so that: - PR are validated with the tip of the project before merge to prevent incompatible PRs to be merged at once which could break the CI. - PR maintainer uses a consistent smart squash workflow
18 lines
431 B
YAML
18 lines
431 B
YAML
pull_request_rules:
|
|
- actions:
|
|
merge:
|
|
strict: smart
|
|
method: squash
|
|
name: Automatically merge pull requests
|
|
conditions:
|
|
- check-success=Haskell-CI - Linux - GHC 9.0.1
|
|
- check-success=Haskell-CI - Linux - GHC 8.10.4
|
|
- label=merge me
|
|
- ! '#approved-reviews-by>=1'
|
|
- ! '#changes-requested-reviews-by=0'
|
|
- actions:
|
|
delete_head_branch: {}
|
|
name: Delete head branch after merge
|
|
conditions:
|
|
- merged
|