2021-09-26 16:01:33 +03:00
|
|
|
pull_request_rules:
|
|
|
|
- actions:
|
|
|
|
merge:
|
|
|
|
strict: smart
|
|
|
|
method: squash
|
2021-09-28 00:36:18 +03:00
|
|
|
commit_message: title+body
|
2021-09-26 16:01:33 +03:00
|
|
|
name: Automatically merge pull requests
|
|
|
|
conditions:
|
2021-11-07 16:39:10 +03:00
|
|
|
- or:
|
2021-11-07 17:55:03 +03:00
|
|
|
- and:
|
|
|
|
- -files~=\.hs$
|
|
|
|
- -files~=\.sw$
|
|
|
|
- -files~=\.cabal$
|
|
|
|
- -files=stack.yaml
|
|
|
|
- -files~=cabal.project.*
|
|
|
|
- -files~=^[^/]*\.yaml$
|
|
|
|
- -files~=^data/.*\.yaml$
|
2021-11-07 16:39:10 +03:00
|
|
|
- and:
|
|
|
|
- check-success=Haskell-CI - Linux - ghc-9.0.1
|
|
|
|
- check-success=Haskell-CI - Linux - ghc-8.10.4
|
2021-09-26 16:01:33 +03:00
|
|
|
- label=merge me
|
|
|
|
- ! '#approved-reviews-by>=1'
|
|
|
|
- ! '#changes-requested-reviews-by=0'
|
|
|
|
- actions:
|
|
|
|
delete_head_branch: {}
|
|
|
|
name: Delete head branch after merge
|
|
|
|
conditions:
|
|
|
|
- merged
|