Adds automerge of l10n PRs.

Signed-off-by: Pierre Ozoux <pierre@ozoux.net>
This commit is contained in:
Pierre Ozoux
2022-05-20 11:42:55 +02:00
parent 036eb160b2
commit d6a4b1f5a3

View File

@@ -1,4 +1,4 @@
name: Transifex
name: AutoMerge everything translations (Transifex and pot files update)
on: pull_request
jobs:
@@ -7,7 +7,7 @@ jobs:
name: Approve
steps:
- uses: hmarr/auto-approve-action@v2.2.1
if: github.actor == 'Transifex-localization-platform[bot]' || github.actor == 'transifex-integration[bot]'
if: github.actor == 'github-actions[bot]' || github.actor == 'transifex-integration[bot]'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
@@ -16,7 +16,7 @@ jobs:
name: Auto-merge
steps:
- uses: pascalgn/automerge-action@v0.15.3
if: github.actor == 'Transifex-localization-platform[bot]' || github.actor == 'transifex-integration[bot]'
if: github.actor == 'github-actions[bot]' || github.actor == 'transifex-integration[bot]'
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_LABELS: ""