Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Fix automerge automation for backport PRs (#24338)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry authored Apr 14, 2022
1 parent e3ef074 commit e570039
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ pull_request_rules:
- status-success=buildkite/solana
- status-success=ci-gate
- label=automerge
- label!=no-automerge
- author≠@dont-squash-my-commits
- or:
# only require travis success if docs files changed
Expand All @@ -61,6 +62,7 @@ pull_request_rules:
- status-success=Travis CI - Pull Request
- status-success=ci-gate
- label=automerge
- label!=no-automerge
- author=@dont-squash-my-commits
- or:
# only require explorer checks if explorer files changed
Expand Down Expand Up @@ -89,6 +91,17 @@ pull_request_rules:
actions:
dismiss_reviews:
changes_requested: true
- name: set automerge label on mergify backport PRs
conditions:
- author=mergify[bot]
- head~=^mergify/bp/
- "#status-failure=0"
- "-merged"
- label!=no-automerge
actions:
label:
add:
- automerge
- name: v1.9 feature-gate backport
conditions:
- label=v1.9
Expand All @@ -97,7 +110,6 @@ pull_request_rules:
backport:
ignore_conflicts: true
labels:
- automerge
- feature-gate
branches:
- v1.9
Expand All @@ -108,8 +120,6 @@ pull_request_rules:
actions:
backport:
ignore_conflicts: true
labels:
- automerge
branches:
- v1.9
- name: v1.10 feature-gate backport
Expand All @@ -120,7 +130,6 @@ pull_request_rules:
backport:
ignore_conflicts: true
labels:
- automerge
- feature-gate
branches:
- v1.10
Expand All @@ -131,8 +140,6 @@ pull_request_rules:
actions:
backport:
ignore_conflicts: true
labels:
- automerge
branches:
- v1.10

Expand Down

0 comments on commit e570039

Please sign in to comment.