Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deduplicate path separator duplicates #10646

Open
wants to merge 69 commits into
base: master
Choose a base branch
from

Use unsnoc from Cabal-syntax Utils.Generic

4a8c795
Select commit
Loading
Failed to load commit list.
Open

Deduplicate path separator duplicates #10646

Use unsnoc from Cabal-syntax Utils.Generic
4a8c795
Select commit
Loading
Failed to load commit list.
Mergify / Summary succeeded Dec 27, 2024 in 1s

7 potential rules

Rule: Wait for 2 days before validating merge (label)

  • #approved-reviews-by>=2
  • any of:
    • label=priority: high :fire:
    • updated-at<2 days ago
  • any of:
    • label=merge me
    • label=merge+no rebase
    • label=squash+merge me

Rule: Waiting out merge delay (used by bot) (label)

  • #approved-reviews-by>=2
  • any of:
    • label=merge me
    • label=merge+no rebase
    • label=squash+merge me
  • #changes-requested-reviews-by=0
  • -closed
  • -draft
  • base=master
  • check-success=Bootstrap post job
  • check-success=Doctest Cabal
  • check-success=Meta checks
  • check-success=Validate post job
  • check-success=docs/readthedocs.org:cabal
  • check-success=fourmolu
  • check-success=hlint

Rule: Mergify hasn't merged a PR yet (label)

  • #approved-reviews-by>=2
  • label=merge delay passed
  • updated-at<4 days ago
  • #changes-requested-reviews-by=0
  • -closed
  • -draft
  • -merged
  • base=master
  • check-success=Bootstrap post job
  • check-success=Doctest Cabal
  • check-success=Meta checks
  • check-success=Validate post job
  • check-success=docs/readthedocs.org:cabal
  • check-success=fourmolu
  • check-success=hlint

Rule: Put pull requests in the rebase+merge queue (queue)

  • #approved-reviews-by>=2
  • label=merge delay passed
  • label=merge me
  • any of: [🔀 queue conditions]
    • all of: [📌 queue conditions of queue default]
      • #approved-reviews-by >= 2 [🛡 GitHub branch protection]
      • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]
      • #review-threads-unresolved = 0 [🛡 GitHub branch protection]
      • any of: [🛡 GitHub branch protection]
        • check-success = Doctest Cabal
        • check-neutral = Doctest Cabal
        • check-skipped = Doctest Cabal
      • any of: [🛡 GitHub branch protection]
        • check-success = Meta checks
        • check-neutral = Meta checks
        • check-skipped = Meta checks
      • any of: [🛡 GitHub branch protection]
        • check-success = docs/readthedocs.org:cabal
        • check-neutral = docs/readthedocs.org:cabal
        • check-skipped = docs/readthedocs.org:cabal
      • any of: [🛡 GitHub branch protection]
        • check-success = Validate post job
        • check-neutral = Validate post job
        • check-skipped = Validate post job
      • any of: [🛡 GitHub branch protection]
        • check-success = fourmolu
        • check-neutral = fourmolu
        • check-skipped = fourmolu
      • any of: [🛡 GitHub branch protection]
        • check-success = hlint
        • check-neutral = hlint
        • check-skipped = hlint
      • any of: [🛡 GitHub branch protection]
        • check-success = Bootstrap post job
        • check-neutral = Bootstrap post job
        • check-skipped = Bootstrap post job
      • any of: [🛡 GitHub branch protection]
        • check-success = whitespace
        • check-neutral = whitespace
        • check-skipped = whitespace
      • any of: [🛡 GitHub branch protection]
        • check-success = Check sdist post job
        • check-neutral = Check sdist post job
        • check-skipped = Check sdist post job
  • -closed [📌 queue requirement]
  • -conflict [📌 queue requirement]
  • -draft [📌 queue requirement]
  • -label~=^blocked:
  • base=master
  • any of: [📌 queue -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success = Configuration changed

Rule: Put pull requests in the squash+merge queue (queue)

  • #approved-reviews-by>=2
  • label=merge delay passed
  • label=squash+merge me
  • any of: [🔀 queue conditions]
    • all of: [📌 queue conditions of queue squash-merge]
      • #approved-reviews-by >= 2 [🛡 GitHub branch protection]
      • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]
      • #review-threads-unresolved = 0 [🛡 GitHub branch protection]
      • any of: [🛡 GitHub branch protection]
        • check-success = Doctest Cabal
        • check-neutral = Doctest Cabal
        • check-skipped = Doctest Cabal
      • any of: [🛡 GitHub branch protection]
        • check-success = Meta checks
        • check-neutral = Meta checks
        • check-skipped = Meta checks
      • any of: [🛡 GitHub branch protection]
        • check-success = docs/readthedocs.org:cabal
        • check-neutral = docs/readthedocs.org:cabal
        • check-skipped = docs/readthedocs.org:cabal
      • any of: [🛡 GitHub branch protection]
        • check-success = Validate post job
        • check-neutral = Validate post job
        • check-skipped = Validate post job
      • any of: [🛡 GitHub branch protection]
        • check-success = fourmolu
        • check-neutral = fourmolu
        • check-skipped = fourmolu
      • any of: [🛡 GitHub branch protection]
        • check-success = hlint
        • check-neutral = hlint
        • check-skipped = hlint
      • any of: [🛡 GitHub branch protection]
        • check-success = Bootstrap post job
        • check-neutral = Bootstrap post job
        • check-skipped = Bootstrap post job
      • any of: [🛡 GitHub branch protection]
        • check-success = whitespace
        • check-neutral = whitespace
        • check-skipped = whitespace
      • any of: [🛡 GitHub branch protection]
        • check-success = Check sdist post job
        • check-neutral = Check sdist post job
        • check-skipped = Check sdist post job
  • -closed [📌 queue requirement]
  • -conflict [📌 queue requirement]
  • -draft [📌 queue requirement]
  • -label~=^blocked:
  • base=master
  • any of: [📌 queue -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success = Configuration changed

Rule: Merge "merge+no rebase" pull requests directly (without a queue) (merge)

  • #approved-reviews-by >= 2 [🛡 GitHub branch protection]
  • #approved-reviews-by>=2
  • label=merge delay passed
  • label=merge+no rebase
  • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]
  • #review-threads-unresolved = 0 [🛡 GitHub branch protection]
  • -closed [📌 merge requirement]
  • -conflict [📌 merge requirement]
  • -draft [📌 merge requirement]
  • -label~=^blocked:
  • base=master
  • any of: [📌 merge -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success = Configuration changed
  • any of: [🛡 GitHub branch protection]
    • check-success = Doctest Cabal
    • check-neutral = Doctest Cabal
    • check-skipped = Doctest Cabal
  • any of: [🛡 GitHub branch protection]
    • check-success = Meta checks
    • check-neutral = Meta checks
    • check-skipped = Meta checks
  • any of: [🛡 GitHub branch protection]
    • check-success = docs/readthedocs.org:cabal
    • check-neutral = docs/readthedocs.org:cabal
    • check-skipped = docs/readthedocs.org:cabal
  • any of: [🛡 GitHub branch protection]
    • check-success = Validate post job
    • check-neutral = Validate post job
    • check-skipped = Validate post job
  • any of: [🛡 GitHub branch protection]
    • check-success = fourmolu
    • check-neutral = fourmolu
    • check-skipped = fourmolu
  • any of: [🛡 GitHub branch protection]
    • check-success = hlint
    • check-neutral = hlint
    • check-skipped = hlint
  • any of: [🛡 GitHub branch protection]
    • check-success = Bootstrap post job
    • check-neutral = Bootstrap post job
    • check-skipped = Bootstrap post job
  • any of: [🛡 GitHub branch protection]
    • check-success = whitespace
    • check-neutral = whitespace
    • check-skipped = whitespace
  • any of: [🛡 GitHub branch protection]
    • check-success = Check sdist post job
    • check-neutral = Check sdist post job
    • check-skipped = Check sdist post job

Rule: Label backports as such (label)

  • body~=automatic backport

💖  Mergify is proud to provide this service for free to open source projects.

🚀  You can help us by becoming a sponsor!


4 not applicable rules

Rule: Put release branch pull requests in the rebase+merge queue (queue)

  • #approved-reviews-by>=2
  • base!=master
  • label=merge me
  • any of: [🔀 queue conditions]
    • all of: [📌 queue conditions of queue default]
      • #approved-reviews-by >= 2 [🛡 GitHub branch protection]
      • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]
      • #review-threads-unresolved = 0 [🛡 GitHub branch protection]
      • any of: [🛡 GitHub branch protection]
        • check-success = Doctest Cabal
        • check-neutral = Doctest Cabal
        • check-skipped = Doctest Cabal
      • any of: [🛡 GitHub branch protection]
        • check-success = Meta checks
        • check-neutral = Meta checks
        • check-skipped = Meta checks
      • any of: [🛡 GitHub branch protection]
        • check-success = docs/readthedocs.org:cabal
        • check-neutral = docs/readthedocs.org:cabal
        • check-skipped = docs/readthedocs.org:cabal
      • any of: [🛡 GitHub branch protection]
        • check-success = Validate post job
        • check-neutral = Validate post job
        • check-skipped = Validate post job
      • any of: [🛡 GitHub branch protection]
        • check-success = fourmolu
        • check-neutral = fourmolu
        • check-skipped = fourmolu
      • any of: [🛡 GitHub branch protection]
        • check-success = hlint
        • check-neutral = hlint
        • check-skipped = hlint
      • any of: [🛡 GitHub branch protection]
        • check-success = Bootstrap post job
        • check-neutral = Bootstrap post job
        • check-skipped = Bootstrap post job
      • any of: [🛡 GitHub branch protection]
        • check-success = whitespace
        • check-neutral = whitespace
        • check-skipped = whitespace
      • any of: [🛡 GitHub branch protection]
        • check-success = Check sdist post job
        • check-neutral = Check sdist post job
        • check-skipped = Check sdist post job
  • -body~=backport
  • -closed [📌 queue requirement]
  • -conflict [📌 queue requirement]
  • -draft [📌 queue requirement]
  • -label~=^blocked:
  • any of: [📌 queue -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success = Configuration changed

Rule: Put release branch pull requests in the squash+merge queue (queue)

  • #approved-reviews-by>=2
  • base!=master
  • label=squash+merge me
  • any of: [🔀 queue conditions]
    • all of: [📌 queue conditions of queue squash-merge]
      • #approved-reviews-by >= 2 [🛡 GitHub branch protection]
      • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]
      • #review-threads-unresolved = 0 [🛡 GitHub branch protection]
      • any of: [🛡 GitHub branch protection]
        • check-success = Doctest Cabal
        • check-neutral = Doctest Cabal
        • check-skipped = Doctest Cabal
      • any of: [🛡 GitHub branch protection]
        • check-success = Meta checks
        • check-neutral = Meta checks
        • check-skipped = Meta checks
      • any of: [🛡 GitHub branch protection]
        • check-success = docs/readthedocs.org:cabal
        • check-neutral = docs/readthedocs.org:cabal
        • check-skipped = docs/readthedocs.org:cabal
      • any of: [🛡 GitHub branch protection]
        • check-success = Validate post job
        • check-neutral = Validate post job
        • check-skipped = Validate post job
      • any of: [🛡 GitHub branch protection]
        • check-success = fourmolu
        • check-neutral = fourmolu
        • check-skipped = fourmolu
      • any of: [🛡 GitHub branch protection]
        • check-success = hlint
        • check-neutral = hlint
        • check-skipped = hlint
      • any of: [🛡 GitHub branch protection]
        • check-success = Bootstrap post job
        • check-neutral = Bootstrap post job
        • check-skipped = Bootstrap post job
      • any of: [🛡 GitHub branch protection]
        • check-success = whitespace
        • check-neutral = whitespace
        • check-skipped = whitespace
      • any of: [🛡 GitHub branch protection]
        • check-success = Check sdist post job
        • check-neutral = Check sdist post job
        • check-skipped = Check sdist post job
  • -body~=backport
  • -closed [📌 queue requirement]
  • -conflict [📌 queue requirement]
  • -draft [📌 queue requirement]
  • -label~=^blocked:
  • any of: [📌 queue -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success = Configuration changed

Rule: Put backports in the rebase+merge queue (queue)

  • base!=master
  • body~=backport
  • label=merge me
  • any of: [🔀 queue conditions]
    • all of: [📌 queue conditions of queue default]
      • #approved-reviews-by >= 2 [🛡 GitHub branch protection]
      • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]
      • #review-threads-unresolved = 0 [🛡 GitHub branch protection]
      • any of: [🛡 GitHub branch protection]
        • check-success = Doctest Cabal
        • check-neutral = Doctest Cabal
        • check-skipped = Doctest Cabal
      • any of: [🛡 GitHub branch protection]
        • check-success = Meta checks
        • check-neutral = Meta checks
        • check-skipped = Meta checks
      • any of: [🛡 GitHub branch protection]
        • check-success = docs/readthedocs.org:cabal
        • check-neutral = docs/readthedocs.org:cabal
        • check-skipped = docs/readthedocs.org:cabal
      • any of: [🛡 GitHub branch protection]
        • check-success = Validate post job
        • check-neutral = Validate post job
        • check-skipped = Validate post job
      • any of: [🛡 GitHub branch protection]
        • check-success = fourmolu
        • check-neutral = fourmolu
        • check-skipped = fourmolu
      • any of: [🛡 GitHub branch protection]
        • check-success = hlint
        • check-neutral = hlint
        • check-skipped = hlint
      • any of: [🛡 GitHub branch protection]
        • check-success = Bootstrap post job
        • check-neutral = Bootstrap post job
        • check-skipped = Bootstrap post job
      • any of: [🛡 GitHub branch protection]
        • check-success = whitespace
        • check-neutral = whitespace
        • check-skipped = whitespace
      • any of: [🛡 GitHub branch protection]
        • check-success = Check sdist post job
        • check-neutral = Check sdist post job
        • check-skipped = Check sdist post job
  • #approved-reviews-by>=1
  • -closed [📌 queue requirement]
  • -conflict [📌 queue requirement]
  • -draft [📌 queue requirement]
  • -label~=^blocked:
  • any of: [📌 queue -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success = Configuration changed

Rule: Put backports in the squash+merge queue (queue)

  • base!=master
  • body~=backport
  • label=squash+merge me
  • any of: [🔀 queue conditions]
    • all of: [📌 queue conditions of queue squash-merge]
      • #approved-reviews-by >= 2 [🛡 GitHub branch protection]
      • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]
      • #review-threads-unresolved = 0 [🛡 GitHub branch protection]
      • any of: [🛡 GitHub branch protection]
        • check-success = Doctest Cabal
        • check-neutral = Doctest Cabal
        • check-skipped = Doctest Cabal
      • any of: [🛡 GitHub branch protection]
        • check-success = Meta checks
        • check-neutral = Meta checks
        • check-skipped = Meta checks
      • any of: [🛡 GitHub branch protection]
        • check-success = docs/readthedocs.org:cabal
        • check-neutral = docs/readthedocs.org:cabal
        • check-skipped = docs/readthedocs.org:cabal
      • any of: [🛡 GitHub branch protection]
        • check-success = Validate post job
        • check-neutral = Validate post job
        • check-skipped = Validate post job
      • any of: [🛡 GitHub branch protection]
        • check-success = fourmolu
        • check-neutral = fourmolu
        • check-skipped = fourmolu
      • any of: [🛡 GitHub branch protection]
        • check-success = hlint
        • check-neutral = hlint
        • check-skipped = hlint
      • any of: [🛡 GitHub branch protection]
        • check-success = Bootstrap post job
        • check-neutral = Bootstrap post job
        • check-skipped = Bootstrap post job
      • any of: [🛡 GitHub branch protection]
        • check-success = whitespace
        • check-neutral = whitespace
        • check-skipped = whitespace
      • any of: [🛡 GitHub branch protection]
        • check-success = Check sdist post job
        • check-neutral = Check sdist post job
        • check-skipped = Check sdist post job
  • #approved-reviews-by>=1
  • -closed [📌 queue requirement]
  • -conflict [📌 queue requirement]
  • -draft [📌 queue requirement]
  • -label~=^blocked:
  • any of: [📌 queue -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success = Configuration changed
Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com