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

feat: Support Relative Path Imports #891

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Improve path resolution handling in stack_processor_utils

ddde3d5
Select commit
Loading
Failed to load commit list.
Open

feat: Support Relative Path Imports #891

Improve path resolution handling in stack_processor_utils
ddde3d5
Select commit
Loading
Failed to load commit list.
Mergify / Summary succeeded Dec 30, 2024 in 2s

12 potential rules

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:
    • all of:
      • -closed
      • -merged

Rule: remove triage label if approved (label)

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

Rule: close stale PRs with merge conflicts (close)

  • commits[*].date_committer < 30 days ago
  • conflict
  • updated-at < 7 days ago
  • all of:
    • all of:
      • -closed
      • -merged

Rule: remove certain labels on close (label)

  • closed

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

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

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

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

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

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

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

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

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

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

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

  • label=rebase

Rule: Comment on PRs during code freeze and close them (close)

  • all of:
    • repository-full-name=cloudposse/terraform-aws-components
    • base=main
    • created-at > 2024-11-12
    • label != force

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

🚀  You can help us by becoming a sponsor!


20 not applicable rules

Rule: Trigger workflow dispatch on PR synchronized by github-actions[bot] (comment, github_actions)

  • all of:
    • any of:
      • author=github-actions[bot]
  • all of:
    • all of:
      • -closed
      • -merged
  • all of:
    • any of:
      • base=main
      • base=master

Rule: label automated pull requests (label)

  • all of:
    • any of:
      • author=cloudpossebot
      • author=dependabot[bot]
      • author=github-actions[bot]
      • author=renovate[bot]
  • all of:
    • all of:
      • -closed
      • -merged

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

  • files=README.md
  • all of:
    • any of:
      • author=cloudpossebot
      • author=dependabot[bot]
      • author=github-actions[bot]
      • author=renovate[bot]
  • all of:
    • all of:
      • -closed
      • -merged

Rule: run terratest on automated pull requests that update terraform files (comment)

  • all of:
    • any of:
      • author=cloudpossebot
      • author=dependabot[bot]
      • author=github-actions[bot]
      • author=renovate[bot]
  • all of:
    • all of:
      • files~=\.tf$
  • all of:
    • all of:
      • -closed
      • -merged

Rule: merge automated PRs that only update the markdown files, images or videos (merge)

  • #approved-reviews-by >= 1 [🛡 GitHub branch protection]
  • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]
  • #commits-behind = 0 [🛡 GitHub branch protection]
  • #review-threads-unresolved = 0 [🛡 GitHub branch protection]
  • branch-protection-review-decision = APPROVED [🛡 GitHub branch protection]
  • files~=\.(md|gif|png|jpg|mp4)$
  • head~=auto-update/.*
  • all of:
    • all of:
      • base=master
      • base=main
  • all of:
    • any of:
      • author=cloudpossebot
      • author=dependabot[bot]
      • author=github-actions[bot]
      • author=renovate[bot]
  • any of: [🛡 GitHub branch protection]
    • check-neutral = Acceptance Tests (windows-latest, windows)
    • check-skipped = Acceptance Tests (windows-latest, windows)
    • check-success = Acceptance Tests (windows-latest, windows)
  • #check-pending=0
  • -closed [📌 merge requirement]
  • -conflict [📌 merge requirement]
  • -draft [📌 merge requirement]
  • all of:
    • all of:
      • -closed
      • -merged
  • any of: [📌 merge -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success = Configuration changed
  • any of: [🛡 GitHub branch protection]
    • check-success = validate-codeowners
    • check-neutral = validate-codeowners
    • check-skipped = validate-codeowners
  • any of: [🛡 GitHub branch protection]
    • check-success = [k3s] demo-helmfile
    • check-neutral = [k3s] demo-helmfile
    • check-skipped = [k3s] demo-helmfile
  • any of: [🛡 GitHub branch protection]
    • check-success = [localstack] demo-localstack
    • check-neutral = [localstack] demo-localstack
    • check-skipped = [localstack] demo-localstack
  • any of: [🛡 GitHub branch protection]
    • check-success = Acceptance Tests (macos-latest, macos)
    • check-neutral = Acceptance Tests (macos-latest, macos)
    • check-skipped = Acceptance Tests (macos-latest, macos)
  • any of: [🛡 GitHub branch protection]
    • check-success = Acceptance Tests (ubuntu-latest, linux)
    • check-neutral = Acceptance Tests (ubuntu-latest, linux)
    • check-skipped = Acceptance Tests (ubuntu-latest, linux)
  • any of: [🛡 GitHub branch protection]
    • check-success = [mock-linux] demo-component-versions
    • check-neutral = [mock-linux] demo-component-versions
    • check-skipped = [mock-linux] demo-component-versions
  • any of: [🛡 GitHub branch protection]
    • check-success = [mock-linux] demo-context
    • check-neutral = [mock-linux] demo-context
    • check-skipped = [mock-linux] demo-context
  • any of: [🛡 GitHub branch protection]
    • check-success = [mock-linux] demo-atlantis
    • check-neutral = [mock-linux] demo-atlantis
    • check-skipped = [mock-linux] demo-atlantis
  • any of: [🛡 GitHub branch protection]
    • check-success = [mock-linux] demo-vendoring
    • check-neutral = [mock-linux] demo-vendoring
    • check-skipped = [mock-linux] demo-vendoring
  • any of: [🛡 GitHub branch protection]
    • check-success = [mock-linux] tests
    • check-neutral = [mock-linux] tests
    • check-skipped = [mock-linux] tests
  • any of: [🛡 GitHub branch protection]
    • check-success = [mock-macos] demo-component-versions
    • check-neutral = [mock-macos] demo-component-versions
    • check-skipped = [mock-macos] demo-component-versions
  • any of: [🛡 GitHub branch protection]
    • check-success = [mock-macos] demo-context
    • check-neutral = [mock-macos] demo-context
    • check-skipped = [mock-macos] demo-context
  • any of: [🛡 GitHub branch protection]
    • check-success = [mock-macos] demo-atlantis
    • check-neutral = [mock-macos] demo-atlantis
    • check-skipped = [mock-macos] demo-atlantis
  • any of: [🛡 GitHub branch protection]
    • check-success = [mock-macos] demo-vendoring
    • check-neutral = [mock-macos] demo-vendoring
    • check-skipped = [mock-macos] demo-vendoring
  • any of: [🛡 GitHub branch protection]
    • check-success = [mock-macos] tests
    • check-neutral = [mock-macos] tests
    • check-skipped = [mock-macos] tests
  • any of: [🛡 GitHub branch protection]
    • check-success = [mock-windows] demo-vendoring
    • check-neutral = [mock-windows] demo-vendoring
    • check-skipped = [mock-windows] demo-vendoring
  • any of: [🛡 GitHub branch protection]
    • check-success = [mock-windows] demo-atlantis
    • check-neutral = [mock-windows] demo-atlantis
    • check-skipped = [mock-windows] demo-atlantis
  • any of: [🛡 GitHub branch protection]
    • check-success = [mock-windows] demo-component-versions
    • check-neutral = [mock-windows] demo-component-versions
    • check-skipped = [mock-windows] demo-component-versions
  • any of: [🛡 GitHub branch protection]
    • check-success = [mock-windows] demo-context
    • check-neutral = [mock-windows] demo-context
    • check-skipped = [mock-windows] demo-context
  • any of: [🛡 GitHub branch protection]
    • check-success = [mock-windows] tests
    • check-neutral = [mock-windows] tests
    • check-skipped = [mock-windows] tests
  • any of: [🛡 GitHub branch protection]
    • check-success = Build (macos-latest, macos)
    • check-neutral = Build (macos-latest, macos)
    • check-skipped = Build (macos-latest, macos)
  • any of: [🛡 GitHub branch protection]
    • check-success = Build (ubuntu-latest, linux)
    • check-neutral = Build (ubuntu-latest, linux)
    • check-skipped = Build (ubuntu-latest, linux)
  • any of: [🛡 GitHub branch protection]
    • check-success = Build (windows-latest, windows)
    • check-neutral = Build (windows-latest, windows)
    • check-skipped = Build (windows-latest, windows)
  • any of: [🛡 GitHub repository ruleset rule]
    • check-success = Summary
    • check-neutral = Summary
    • check-skipped = Summary

Rule: merge automated PRs that only update the markdown files, images or videos (label)

  • files~=\.(md|gif|png|jpg|mp4)$
  • head~=auto-update/.*
  • all of:
    • all of:
      • base=master
      • base=main
  • all of:
    • any of:
      • author=cloudpossebot
      • author=dependabot[bot]
      • author=github-actions[bot]
      • author=renovate[bot]
  • #check-pending=0
  • all of:
    • all of:
      • -closed
      • -merged

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

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

Rule: welcome new contributors (comment)

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

Rule: ask to rebuild readme (comment)

  • files=README.yaml
  • all of:
    • all of:
      • base=master
      • base=main
  • -files=README.md
  • all of:
    • all of:
      • -closed
      • -merged

Rule: ask for title (comment)

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

Rule: ask for description (comment)

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

Rule: remove outdated reviews (dismiss_reviews)

  • all of:
    • all of:
      • base=master
      • base=main
  • all of:
    • all of:
      • -closed
      • -merged

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

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

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

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

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

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

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

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

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:
    • all of:
      • base=master
      • base=main
  • all of:
    • any of:
      • draft
      • label~=(WIP|wip)
      • title~=^(wip|WIP)
      • all of:
        • any of:
          • label~=(do-not-merge|do not merge)
          • title~=(do-not-merge|do not merge)
      • all of:
        • all of:
          • label~=(triage|stale|feedback|help needed)
  • all of:
    • all of:
      • -closed
      • -merged

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

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

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

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

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

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