diff --git a/.mergify.yml b/.mergify.yml index 7de2e29c..0b7a86be 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: