2021-11-29 12:42:22 +00:00
|
|
|
queue_rules:
|
|
|
|
- name: default
|
|
|
|
conditions:
|
2022-07-18 15:37:20 +00:00
|
|
|
- or:
|
|
|
|
- status-success=complete-pr
|
2022-11-14 10:17:40 +00:00
|
|
|
- status-success=complete-push
|
2020-11-20 12:47:11 +00:00
|
|
|
pull_request_rules:
|
|
|
|
- name: Resolve conflict
|
|
|
|
conditions:
|
|
|
|
- conflict
|
|
|
|
actions:
|
|
|
|
comment:
|
|
|
|
message: This pull request has conflicts when rebasing. Could you fix it @{{author}}? 🙏
|
2022-07-22 13:26:40 +00:00
|
|
|
- name: Android-Components bump - Auto Merge
|
2020-11-20 12:47:11 +00:00
|
|
|
conditions:
|
2022-07-22 13:26:40 +00:00
|
|
|
- and:
|
|
|
|
- files=buildSrc/src/main/java/AndroidComponents.kt
|
|
|
|
- -files~=^(?!buildSrc/src/main/java/AndroidComponents.kt).+$
|
2022-08-22 16:18:49 +00:00
|
|
|
- author=github-actions[bot]
|
|
|
|
- status-success=complete-push
|
2022-07-22 13:26:40 +00:00
|
|
|
- or:
|
|
|
|
- and:
|
|
|
|
- base=main
|
2022-08-22 16:18:49 +00:00
|
|
|
- head~=^relbot/AC-Nightly-.+
|
2022-07-22 13:26:40 +00:00
|
|
|
- and:
|
|
|
|
- base~=^releases[_/].*
|
|
|
|
- head~=^relbot/fenix-\d+
|
2020-11-20 12:47:11 +00:00
|
|
|
actions:
|
|
|
|
review:
|
|
|
|
type: APPROVE
|
2022-07-22 13:26:40 +00:00
|
|
|
message: 🚢
|
2021-11-29 12:42:22 +00:00
|
|
|
queue:
|
2020-11-20 12:47:11 +00:00
|
|
|
method: rebase
|
2021-11-29 12:42:22 +00:00
|
|
|
name: default
|
2020-11-20 12:47:11 +00:00
|
|
|
- name: L10N - Auto Merge
|
|
|
|
conditions:
|
2022-07-15 16:39:54 +00:00
|
|
|
- and:
|
2022-07-19 13:24:35 +00:00
|
|
|
- files~=^(l10n.toml|app/src/main/res/values[A-Za-z-]*/strings\.xml)$
|
|
|
|
# /!\ The line above doesn't prevent random files to be changed alongside
|
|
|
|
# l10n ones. That's why the additional condition exists below. For more
|
|
|
|
# information: https://docs.mergify.com/conditions/#how-to-match-lists
|
|
|
|
- -files~=^(?!(l10n.toml|app/src/main/res/values[A-Za-z-]*/strings\.xml)).+$
|
2022-07-15 16:39:54 +00:00
|
|
|
- or:
|
|
|
|
- and:
|
|
|
|
- author=mozilla-l10n-automation-bot
|
|
|
|
- base=main
|
2022-07-18 15:37:20 +00:00
|
|
|
- head=import-l10n
|
2022-07-18 13:56:33 +00:00
|
|
|
- status-success=complete-pr
|
2022-07-15 16:39:54 +00:00
|
|
|
- and:
|
|
|
|
- author=github-actions[bot]
|
2022-07-18 15:37:20 +00:00
|
|
|
- base~=^releases[_/].*
|
|
|
|
- head~=^automation/sync-strings-\d+
|
|
|
|
- status-success=complete-push
|
|
|
|
# Taskcluster only runs on git-push events because github-actions[bot] is not considered
|
|
|
|
# a collaborator, so pull request events are triggered. That said, github-actions[bot]
|
|
|
|
# doesn't create the PR on a separate fork (unlike mozilla-l10n-automation-bot). That's
|
|
|
|
# why git-push events are taken into account
|
2020-11-20 12:47:11 +00:00
|
|
|
actions:
|
|
|
|
review:
|
|
|
|
type: APPROVE
|
|
|
|
message: LGTM 😎
|
2021-11-29 12:42:22 +00:00
|
|
|
queue:
|
2022-08-22 09:42:16 +00:00
|
|
|
method: squash
|
2021-11-29 12:42:22 +00:00
|
|
|
name: default
|
2021-06-21 08:39:10 +00:00
|
|
|
- name: Needs landing - Rebase
|
|
|
|
conditions:
|
2022-09-09 16:08:56 +00:00
|
|
|
- or:
|
|
|
|
- check-success=complete-pr
|
|
|
|
- check-success=complete-push
|
2021-06-21 08:39:10 +00:00
|
|
|
- label=pr:needs-landing
|
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- -draft
|
|
|
|
- label!=pr:work-in-progress
|
|
|
|
- label!=pr:do-not-land
|
|
|
|
actions:
|
2021-11-29 12:42:22 +00:00
|
|
|
queue:
|
2021-06-21 08:39:10 +00:00
|
|
|
method: rebase
|
2021-11-29 12:42:22 +00:00
|
|
|
name: default
|
2021-06-21 08:39:10 +00:00
|
|
|
- name: Needs landing - Squash
|
|
|
|
conditions:
|
2022-09-09 16:08:56 +00:00
|
|
|
- or:
|
|
|
|
- check-success=complete-pr
|
|
|
|
- check-success=complete-push
|
2022-07-18 13:56:33 +00:00
|
|
|
- label=pr:needs-landing-squashed
|
2021-06-21 08:39:10 +00:00
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- -draft
|
|
|
|
- label!=pr:work-in-progress
|
|
|
|
- label!=pr:do-not-land
|
|
|
|
actions:
|
2021-11-29 12:42:22 +00:00
|
|
|
queue:
|
2021-06-21 08:39:10 +00:00
|
|
|
method: squash
|
2021-11-29 12:42:22 +00:00
|
|
|
name: default
|