Skip to content

Commit

Permalink
ci(mergify): upgrade configuration to current format
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] committed Nov 22, 2024
1 parent 250077c commit 6edbf66
Showing 1 changed file with 38 additions and 38 deletions.
76 changes: 38 additions & 38 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
queue_rules:
- name: default
conditions:
queue_conditions:
- or:
- and:
- -files~=\.hs$
- -files~=\.disco$
- -files~=\.cabal$
- -files=stack.yaml
- and:
- check-success=Haskell-CI - Linux - ghc-9.8.2
- check-success=Haskell-CI - Linux - ghc-9.6.5
- check-success=Haskell-CI - Linux - ghc-9.4.8
- label=merge me
- '#approved-reviews-by>=1'
- '#changes-requested-reviews-by=0'
merge_conditions:
- or:
- and:
- -files~=\.hs$
- -files~=\.disco$
- -files~=\.cabal$
- -files=stack.yaml
- and:
- check-success=Haskell-CI - Linux - ghc-9.8.2
- check-success=Haskell-CI - Linux - ghc-9.6.5
- check-success=Haskell-CI - Linux - ghc-9.4.8
- and:
- -files~=\.hs$
- -files~=\.disco$
- -files~=\.cabal$
- -files=stack.yaml
- and:
- check-success=Haskell-CI - Linux - ghc-9.8.2
- check-success=Haskell-CI - Linux - ghc-9.6.5
- check-success=Haskell-CI - Linux - ghc-9.4.8

pull_request_rules:
- actions:
queue:
name: default
method: squash
commit_message_template: |
{{ title }} (#{{ number }})
commit_message_template: |
{{ title }} (#{{ number }})
{{ body }}
{{ body }}
merge_method: squash

name: Automatically merge pull requests
conditions:
- or:
- and:
- -files~=\.hs$
- -files~=\.disco$
- -files~=\.cabal$
- -files=stack.yaml
- and:
- check-success=Haskell-CI - Linux - ghc-9.8.2
- check-success=Haskell-CI - Linux - ghc-9.6.5
- check-success=Haskell-CI - Linux - ghc-9.4.8
- label=merge me
- ! '#approved-reviews-by>=1'
- ! '#changes-requested-reviews-by=0'
- actions:
delete_head_branch: {}
name: Delete head branch after merge
conditions:
- merged
pull_request_rules:
- actions:
delete_head_branch: {}
name: Delete head branch after merge
conditions:
- merged
- name: Automatically merge pull requests
conditions: []
actions:
queue:

0 comments on commit 6edbf66

Please sign in to comment.