Skip to content

Enable merge queue #24

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

Merged
merged 1 commit into from
May 31, 2025

chore: Enable merge queue

66c82d1
Select commit
Loading
Failed to load commit list.
Merged

Enable merge queue #24

chore: Enable merge queue
66c82d1
Select commit
Loading
Failed to load commit list.
Mergify / Summary succeeded Jun 7, 2025 in 1s

2 rules match and 21 potential rules

⚠️ The pull request has been merged by @goruha

Rule: Request approval for PRs (request_reviews)

  • all of:
    • -closed
    • -merged
  • any of:
    • all of:
      • all of:
        • any of:
          • author=@admins
          • author=@engineering
          • author=@security
          • author=@approvers
          • author=@bots
          • author=@contributors
        • not:
          • any of:
            • author=cloudposse-releaser[bot]
            • author=dependabot[bot]
            • author=renovate[bot]
      • all of:
        • -draft
        • -label~=(WIP|wip|do-not-merge|do not merge|triage|stale|feedback|help needed)
        • -title~=^(wip|WIP)
      • all of:
        • -conflict
        • -label~=(conflict)
      • all of:
        • -check-failure~=Branch\/.*$
        • -check-pending~=Branch\/.*$
    • all of:
      • -author=@admins
      • -author=@engineering
      • -author=@security
      • -author=@approvers
      • -author=@bots
      • -author=@contributors
      • not:
        • any of:
          • author=cloudposse-releaser[bot]
          • author=dependabot[bot]
          • author=renovate[bot]

Rule: re run actions by removing the label autobots-re-run (label)

  • label~=needs-re-run
  • all of:
    • -closed
    • -merged

✅ Rule: delete the head branch after merge (delete_head_branch)

  • closed [📌 delete_head_branch requirement]
  • merged

Rule: ask to resolve conflict (comment, label)

  • conflict
  • all of:
    • -closed
    • -merged

Rule: ask to not edit the readme (comment)

  • all of:
    • -closed
    • -merged
  • any of:
    • files~=README\.md$
    • files~=src/README\.md$
  • -files=README.yaml
  • not:
    • any of:
      • author=cloudposse-releaser[bot]
      • author=dependabot[bot]
      • author=renovate[bot]

Rule: ask for title (comment)

  • -title~=^[0-9A-Za-z]+
  • all of:
    • -closed
    • -merged
  • any of:
    • base=main
    • base=master

Rule: ask for description (comment)

  • body~=(Describe high-level what changed)
  • all of:
    • -closed
    • -merged
  • -body~=[0-9A-Za-z]{3,}\\s+[0-9A-Za-z]{3,}\\s+[0-9A-Za-z]{3,}
  • any of:
    • base=main
    • base=master

Rule: remove triage label if approved (label)

  • #approved-reviews-by>=1
  • all of:
    • -closed
    • -merged

Rule: close stale pull request after 90 days (close)

  • commits[*].date_committer < 90 days ago
  • label~=(stale)
  • all of:
    • -closed
    • -merged
  • updated-at < 3 days ago
  • any of:
    • base=main
    • base=master

Rule: label stale pull request after 30 days (comment, label)

  • commits[*].date_committer < 30 days ago
  • all of:
    • -closed
    • -merged
  • -label~=(stale|triage)
  • updated-at < 7 days ago
  • any of:
    • base=main
    • base=master

Rule: close pull request waiting on feedback for 1 month (close)

  • label~=(stale)
  • updated-at < 30 days ago
  • all of:
    • -closed
    • -merged
  • any of:
    • #changes-requested-reviews-by > 0
    • #commented-reviews-by > 0
    • label~=(feedback)
  • any of:
    • base=main
    • base=master

Rule: close pull request marked as invalid, duplicate or won't fix (close)

  • label~=(duplicate|invalid|wontfix)
  • all of:
    • -closed
    • -merged
  • any of:
    • base=main
    • base=master

Rule: close pull request that is a work in progress and in active for 1 month (close)

  • commits[*].date_committer < 90 days ago
  • updated-at < 30 days ago
  • all of:
    • -closed
    • -merged
  • any of:
    • draft
    • label~=(WIP|wip)
    • label~=(triage|stale|feedback|help needed)
    • title~=^(wip|WIP)
    • any of:
      • label~=(do-not-merge|do not merge)
      • title~=(do-not-merge|do not merge)
  • any of:
    • base=main
    • base=master

✅ Rule: remove certain labels on close (label)

  • closed

Rule: close Pull Requests without files changed (close, label)

  • #files=0
  • all of:
    • -closed
    • -merged

Rule: add triage label for new pull requests (label)

  • #label=0
  • all of:
    • -closed
    • -merged
  • any of:
    • commits[*].date_committer > 5 minutes ago
    • created-at > 5 minutes ago
    • updated-at > 7 days ago
  • #approved-reviews-by=0
  • not:
    • any of:
      • author=cloudposse-releaser[bot]
      • author=dependabot[bot]
      • author=renovate[bot]

Rule: Add needs-test label on new commits (label)

  • commits[*].date_committer > 1 minutes ago
  • files~=\.tf$
  • all of:
    • -closed
    • -merged
  • -label=~needs-test
  • any of:
    • base=main
    • base=master

Rule: Remove needs-test label when required tests pass (label)

  • all of:
    • -closed
    • -merged
  • any of:
    • base=main
    • base=master
  • any of:
    • -files~=\.tf$
    • all of:
      • check-success=test/bats
      • check-success=test/terratest
      • -status-failure~=^(terratest|terraform)$

Rule: add "WIP" label when the title contains "WIP" (label)

  • title~=WIP
  • all of:
    • -closed
    • -merged

Rule: add "needs-cloudposse" label when restrictions apply to this PR (comment, label)

  • all of:
    • -closed
    • -merged
  • any of:
    • files~=(mergify|settings|dependabot|renovate|CODEOWNERS|\.github|Makefile|Dockerfile)
    • label~=(cloudposse)

Rule: rebase pull request when it's more than 10 commits behind main (rebase)

  • #commits-behind>=10
  • -closed [📌 rebase requirement]
  • all of:
    • -closed
    • -merged
  • any of:
    • #commits > 1 [📌 rebase requirement]
    • #commits-behind > 0 [📌 rebase requirement]
    • -linear-history [📌 rebase requirement]
  • -conflict [📌 rebase requirement]
  • queue-position = -1 [📌 rebase requirement]
  • any of:
    • base=main
    • base=master

Rule: rebase pull requests one time when labeled with rebase (rebase)

  • -closed [📌 rebase requirement]
  • label=rebase
  • any of:
    • #commits > 1 [📌 rebase requirement]
    • #commits-behind > 0 [📌 rebase requirement]
    • -linear-history [📌 rebase requirement]
  • -conflict [📌 rebase requirement]
  • queue-position = -1 [📌 rebase requirement]

Rule: rebase pull requests one time when labeled with rebase (label)

  • label=rebase

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

🚀  You can help us by becoming a sponsor!


9 not applicable rules

Rule: Auto approve auto updates PRs (review)

  • all of:
    • -closed
    • -merged
  • any of:
    • author=cloudposse-releaser[bot]
    • author=dependabot[bot]
    • author=renovate[bot]
  • any of:
    • files~=(vendor\.ya?ml|component\.ya?ml)$
    • files~=\.tflint\.hcl$
    • files~=src/.*$
    • files~=test/(go\.mod|go\.sum)$
    • files~=test/.*$
  • not:
    • all of:
      • files~=\.github/.*$
  • #commits-unverified=0
  • all of:
    • -conflict
    • -label~=(conflict)
  • all of:
    • -draft
    • -label~=(WIP|wip|do-not-merge|do not merge|triage|stale|feedback|help needed)
    • -title~=^(wip|WIP)
  • all of:
    • -check-failure~=Branch\/.*$
    • -check-pending~=Branch\/.*$
  • not:
    • all of:
      • branch-protection-review-decision=APPROVED
  • not:
    • all of:
      • author=cloudposse-releaser[bot]
      • head=auto-update/readme
      • title=Update README.md and docs
      • any of:
        • files~=README\.md$
        • files~=src/README\.md$
      • any of:
        • #files=2
        • #files=1

Rule: Auto approve Readme PRs (review)

  • all of:
    • -closed
    • -merged
  • all of:
    • author=cloudposse-releaser[bot]
    • head=auto-update/readme
    • title=Update README.md and docs
    • any of:
      • files~=README\.md$
      • files~=src/README\.md$
    • any of:
      • #files=2
      • #files=1
  • all of:
    • -conflict
    • -label~=(conflict)
  • all of:
    • -draft
    • -label~=(WIP|wip|do-not-merge|do not merge|triage|stale|feedback|help needed)
    • -title~=^(wip|WIP)
  • all of:
    • -check-failure~=Branch\/.*$
    • -check-pending~=Branch\/.*$
  • not:
    • all of:
      • branch-protection-review-decision=APPROVED

Rule: Auto merge Readme PRs (merge)

  • #approved-reviews-by >= 1 [🛡 GitHub repository ruleset rule]
  • -closed [📌 merge requirement]
  • branch-protection-review-decision = APPROVED [🛡 GitHub repository ruleset rule]
  • branch-protection-review-decision=APPROVED
  • all of:
    • -closed
    • -merged
  • all of:
    • author=cloudposse-releaser[bot]
    • head=auto-update/readme
    • title=Update README.md and docs
    • any of:
      • files~=README\.md$
      • files~=src/README\.md$
    • any of:
      • #files=2
      • #files=1
  • any of: [🛡 GitHub repository ruleset rule]
    • check-neutral = component / ci
    • check-skipped = component / ci
    • check-success = component / ci
  • #changes-requested-reviews-by = 0 [🛡 GitHub repository ruleset rule]
  • #review-threads-unresolved = 0 [🛡 GitHub repository ruleset rule]
  • -conflict [📌 merge requirement]
  • -draft [📌 merge requirement]
  • all of:
    • -conflict
    • -label~=(conflict)
  • all of:
    • -draft
    • -label~=(WIP|wip|do-not-merge|do not merge|triage|stale|feedback|help needed)
    • -title~=^(wip|WIP)
  • all of:
    • -check-failure~=Branch\/.*$
    • -check-pending~=Branch\/.*$
  • any of: [📌 merge -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success = Configuration changed

Rule: Add approved PR to merge queue (github_actions)

  • branch-protection-review-decision=APPROVED
  • all of:
    • -closed
    • -merged
  • any of:
    • author=cloudposse-releaser[bot]
    • author=dependabot[bot]
    • author=renovate[bot]
  • all of:
    • -conflict
    • -label~=(conflict)
  • all of:
    • -draft
    • -label~=(WIP|wip|do-not-merge|do not merge|triage|stale|feedback|help needed)
    • -title~=^(wip|WIP)
  • all of:
    • -check-failure~=Branch\/.*$
    • -check-pending~=Branch\/.*$
  • not:
    • all of:
      • author=cloudposse-releaser[bot]
      • head=auto-update/readme
      • title=Update README.md and docs
      • any of:
        • files~=README\.md$
        • files~=src/README\.md$
      • any of:
        • #files=2
        • #files=1

Rule: Set no-release and skip-changelog labels for auto updates (label)

  • all of:
    • -closed
    • -merged
  • any of:
    • author=cloudposse-releaser[bot]
    • author=dependabot[bot]
    • author=renovate[bot]
  • all of:
    • any of:
      • files~=\.github/.*$
      • files~=(vendor\.ya?ml|component\.ya?ml)$
      • files~=\.tflint\.hcl$
      • files~=test/(go\.mod|go\.sum)$
      • files~=test/.*$

Rule: label automated pull requests (label)

  • all of:
    • -closed
    • -merged
  • any of:
    • author=cloudposse-releaser[bot]
    • author=dependabot[bot]
    • author=renovate[bot]

Rule: label automated pull requests that update readme (label)

  • all of:
    • -closed
    • -merged
  • any of:
    • author=cloudposse-releaser[bot]
    • author=dependabot[bot]
    • author=renovate[bot]
  • any of:
    • files~=README\.md$
    • files~=src/README\.md$

Rule: close automated PRs with persistent merge conflicts quickly (close)

  • conflict
  • all of:
    • -closed
    • -merged
  • any of:
    • author=cloudposse-releaser[bot]
    • author=dependabot[bot]
    • author=renovate[bot]
  • commits[*].date_committer < 1 days ago

Rule: welcome new contributors (comment)

  • all of:
    • -closed
    • -merged
  • all of:
    • -author=@admins
    • -author=@engineering
    • -author=@security
    • -author=@approvers
    • -author=@bots
    • -author=@contributors
    • not:
      • any of:
        • author=cloudposse-releaser[bot]
        • author=dependabot[bot]
        • author=renovate[bot]
  • updated-at < 5 minutes ago
  • all of:
    • -draft
    • -label~=(WIP|wip|do-not-merge|do not merge|triage|stale|feedback|help needed)
    • -title~=^(wip|WIP)
  • all of:
    • -conflict
    • -label~=(conflict)
  • any of:
    • base=main
    • base=master
  • not:
    • any of:
      • author=cloudposse-releaser[bot]
      • author=dependabot[bot]
      • author=renovate[bot]
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