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}}? 🙏
|
|
|
|
- name: MickeyMoz - Auto Merge
|
|
|
|
conditions:
|
|
|
|
- author=MickeyMoz
|
|
|
|
- status-success=pr-complete
|
|
|
|
- files~=(Gecko.kt|AndroidComponents.kt)
|
|
|
|
actions:
|
|
|
|
review:
|
|
|
|
type: APPROVE
|
|
|
|
message: MickeyMoz 💪
|
|
|
|
merge:
|
|
|
|
method: rebase
|
|
|
|
strict: smart
|
|
|
|
- name: L10N - Auto Merge
|
|
|
|
conditions:
|
|
|
|
- author=mozilla-l10n-automation-bot
|
|
|
|
- status-success=pr-complete
|
2021-02-22 10:13:33 +00:00
|
|
|
- files~=(strings.xml|l10n.toml)
|
2020-11-20 12:47:11 +00:00
|
|
|
actions:
|
|
|
|
review:
|
|
|
|
type: APPROVE
|
|
|
|
message: LGTM 😎
|
|
|
|
merge:
|
|
|
|
method: rebase
|
|
|
|
strict: smart
|
2020-12-18 15:51:55 +00:00
|
|
|
- name: Release automation (Old)
|
2020-11-20 12:47:11 +00:00
|
|
|
conditions:
|
2020-12-18 14:50:47 +00:00
|
|
|
- base~=releases[_/].*
|
2020-12-15 17:05:43 +00:00
|
|
|
- author=github-actions[bot]
|
2020-12-16 14:56:06 +00:00
|
|
|
# Listing checks manually beause we do not have a "push complete" check yet.
|
|
|
|
- check-success=build-android-test-debug
|
|
|
|
- check-success=build-debug
|
|
|
|
- check-success=build-nightly-simulation
|
|
|
|
- check-success=lint-compare-locales
|
|
|
|
- check-success=lint-detekt
|
|
|
|
- check-success=lint-ktlint
|
|
|
|
- check-success=lint-lint
|
|
|
|
- check-success=signing-android-test-debug
|
|
|
|
- check-success=signing-debug
|
|
|
|
- check-success=signing-nightly-simulation
|
|
|
|
- check-success=test-debug
|
|
|
|
- check-success=ui-test-x86-debug
|
2020-11-20 12:47:11 +00:00
|
|
|
- files~=(AndroidComponents.kt)
|
|
|
|
actions:
|
|
|
|
review:
|
|
|
|
type: APPROVE
|
|
|
|
message: 🚢
|
|
|
|
merge:
|
|
|
|
method: rebase
|
|
|
|
strict: smart
|
|
|
|
delete_head_branch:
|
|
|
|
force: false
|
2020-12-18 15:51:55 +00:00
|
|
|
- name: Release automation (New)
|
|
|
|
conditions:
|
|
|
|
- base~=releases[_/].*
|
|
|
|
- author=github-actions[bot]
|
|
|
|
# Listing checks manually beause we do not have a "push complete" check yet.
|
|
|
|
- check-success=build-android-test-beta
|
|
|
|
- check-success=build-android-test-debug
|
|
|
|
- check-success=build-beta-firebase
|
|
|
|
- check-success=build-debug
|
|
|
|
- check-success=build-nightly-simulation
|
|
|
|
- check-success=lint-compare-locales
|
|
|
|
- check-success=lint-detekt
|
|
|
|
- check-success=lint-ktlint
|
|
|
|
- check-success=lint-lint
|
|
|
|
- check-success=signing-android-test-beta
|
|
|
|
- check-success=signing-beta-firebase
|
|
|
|
- check-success=signing-nightly-simulation
|
|
|
|
- check-success=test-debug
|
2021-01-14 14:47:54 +00:00
|
|
|
- check-success=ui-test-x86-beta
|
2020-12-18 15:51:55 +00:00
|
|
|
- files~=(AndroidComponents.kt)
|
|
|
|
actions:
|
|
|
|
review:
|
|
|
|
type: APPROVE
|
|
|
|
message: 🚢
|
|
|
|
merge:
|
|
|
|
method: rebase
|
|
|
|
strict: smart
|
|
|
|
delete_head_branch:
|
|
|
|
force: false
|
2021-06-21 08:39:10 +00:00
|
|
|
- name: Needs landing - Rebase
|
|
|
|
conditions:
|
|
|
|
- check-success=pr-complete
|
|
|
|
- label=pr:needs-landing
|
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- -draft
|
|
|
|
- label!=pr:work-in-progress
|
|
|
|
- label!=pr:do-not-land
|
|
|
|
actions:
|
|
|
|
merge:
|
|
|
|
method: rebase
|
|
|
|
strict: smart
|
|
|
|
- name: Needs landing - Squash
|
|
|
|
conditions:
|
|
|
|
- check-success=pr-complete
|
|
|
|
- label=pr:needs-landing-squashed
|
|
|
|
- "#approved-reviews-by>=1"
|
|
|
|
- -draft
|
|
|
|
- label!=pr:work-in-progress
|
|
|
|
- label!=pr:do-not-land
|
|
|
|
actions:
|
|
|
|
merge:
|
|
|
|
method: squash
|
|
|
|
strict: smart
|