Bug 1779797 - Let mergify automatically approve l10n bumps on release branches

pull/543/head
Johan Lorenzo 2 years ago committed by Ryan VanderMeulen
parent 0bcaa92669
commit 46f69bc35a

@ -42,4 +42,3 @@ jobs:
branch: automation/sync-strings-${{ steps.fenix-beta-version.outputs.major-beta-version }}
title: "Sync Strings from main to releases_${{steps.fenix-beta-version.outputs.fenix-beta-version}}.0"
body: "This (automated) PR syncs strings from `main` to `releases_${{steps.fenix-beta-version.outputs.fenix-beta-version}}.0.0`"
labels: needs:review

@ -24,9 +24,18 @@ pull_request_rules:
rebase_fallback: none
- name: L10N - Auto Merge
conditions:
- author=mozilla-l10n-automation-bot
- status-success=pr-complete
- files~=(strings.xml|l10n.toml)
- and:
- files~=(strings.xml|l10n.toml)
- or:
- and:
- author=mozilla-l10n-automation-bot
- base=main
- status-success=pr-complete
- and:
- author=github-actions[bot]
- base~=releases[_/].*
# Taskcluster doesn't run when PRs are created by github-actions[bot]
# because it's not considered a collaborator.
actions:
review:
type: APPROVE

Loading…
Cancel
Save