swarm/.mergify.yml
Tristan Cacqueray 50e9558071 Add mergify configuration
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
2021-09-26 19:44:38 +00:00

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