From de55adb8c33be1350f0e30c81eedc45a4147df02 Mon Sep 17 00:00:00 2001 From: KooshaPari Date: Sat, 1 Aug 2026 21:31:25 -0700 Subject: [PATCH] fix(governance): repair Mergify rule grammar --- .mergify.yml | 29 +++++++---------------------- 1 file changed, 7 insertions(+), 22 deletions(-) diff --git a/.mergify.yml b/.mergify.yml index 7de2e29cb..0b7a86be4 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -20,13 +20,13 @@ pull_request_rules: {{ title }} (#{{ number }}) Co-authored-by: {{ author }} - post_merge: - action: close # Auto-merge dependabot/Renovate PRs when CI passes - name: Auto-merge dependency updates conditions: - - author=dependabot[bot] | renovate[bot] + - or: + - "author = dependabot[bot]" + - "author = renovate[bot]" - check-success=ci - -conflict - -closed @@ -37,13 +37,14 @@ pull_request_rules: {{ title }} (#{{ number }}) Co-authored-by: {{ author }} - post_merge: - action: close # Auto-merge bot PRs (CI configs, formatting) when CI passes - name: Auto-merge bot housekeeping PRs conditions: - - author=trunk-io[bot] | mergify[bot] | github-actions[bot] + - or: + - "author = trunk-io[bot]" + - "author = mergify[bot]" + - "author = github-actions[bot]" - check-success=ci - check-success=lint - -conflict @@ -61,8 +62,6 @@ pull_request_rules: request_reviews: teams: - phenotype/core - github_accounts: - - KooshaPari # Label PRs based on changed files - name: Label Python changes @@ -97,20 +96,6 @@ pull_request_rules: add: - typescript - # Close stale PRs after 30 days - - name: Close stale PRs - conditions: - - -closed - - -draft - - age>=30d - - "#review-requested=0" - actions: - comment: - message: > - This PR has been automatically closed after 30 days of inactivity. - Feel free to reopen if still relevant. - close: {} - # Warn on large PRs - name: Warn on large PRs conditions: