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

Simplify if statements in GHA workflows and in examples 🦆 #401

Merged
merged 2 commits into from
May 3, 2024

doc: update changelog

94503a0
Select commit
Loading
Failed to load commit list.
Merged

Simplify if statements in GHA workflows and in examples 🦆 #401

doc: update changelog
94503a0
Select commit
Loading
Failed to load commit list.
Mergify / Summary succeeded May 3, 2024 in 1s

5 rules match and 6 potential rules

⚠️ The pull request has been merged by @jamacku

Rule: Automatic merge (squash) on approval & CI pass (merge)

  • #approved-reviews-by>=1
  • #approved-reviews-by>=1 [🛡 GitHub branch protection]
  • #review-requested=0
  • -closed [📌 merge requirement]
  • branch-protection-review-decision=APPROVED [🛡 GitHub branch protection]
  • #changes-requested-reviews-by=0
  • #changes-requested-reviews-by=0 [🛡 GitHub branch protection]
  • -conflict [📌 merge requirement]
  • -draft
  • -draft [📌 merge requirement]
  • -title~=(?i)wip
  • base=main
  • check-success=Test latest changes
  • label!=dont-merge
  • label!=merge-strategy: rebase
  • any of: [📌 merge -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success=Configuration changed

Rule: Automatic merge (rebase) on approval & CI pass (merge)

  • #approved-reviews-by>=1
  • #approved-reviews-by>=1 [🛡 GitHub branch protection]
  • #review-requested=0
  • -closed [📌 merge requirement]
  • branch-protection-review-decision=APPROVED [🛡 GitHub branch protection]
  • label=merge-strategy: rebase
  • #changes-requested-reviews-by=0
  • #changes-requested-reviews-by=0 [🛡 GitHub branch protection]
  • -conflict [📌 merge requirement]
  • -draft
  • -draft [📌 merge requirement]
  • -title~=(?i)wip
  • base=main
  • check-success=Test latest changes
  • label!=dont-merge
  • any of: [📌 merge -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success=Configuration changed

✅ Rule: Delete head branch after merge (delete_head_branch)

  • closed [📌 delete_head_branch requirement]
  • head!=main
  • merged

Rule: Add source label (label)

  • files~=^src/

✅ Rule: Remove source label (label)

  • -files~=^src/

✅ Rule: Add configuration label (label)

  • any of:
    • files~=\.yml$
    • files~=Dockerfile

Rule: Remove configuration label (label)

  • all of:
    • -files~=\.yml$
    • -files~=Dockerfile

✅ Rule: Add documentation label (label)

  • any of:
    • files~=\.md$
    • files~=\.png$

Rule: Remove documentation label (label)

  • all of:
    • -files~=\.md$
    • -files~=\.png$

Rule: Add test label (label)

  • files~=^test/

✅ Rule: Remove test label (label)

  • -files~=^test/

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

🚀  You can help us by becoming a sponsor!


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