Files
nextcloud-docs/.github/workflows/transifex.yml
Pierre Ozoux d6a4b1f5a3 Adds automerge of l10n PRs.
Signed-off-by: Pierre Ozoux <pierre@ozoux.net>
2022-05-20 11:44:34 +02:00

25 lines
753 B
YAML

name: AutoMerge everything translations (Transifex and pot files update)
on: pull_request
jobs:
approve:
runs-on: ubuntu-latest
name: Approve
steps:
- uses: hmarr/auto-approve-action@v2.2.1
if: github.actor == 'github-actions[bot]' || github.actor == 'transifex-integration[bot]'
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
automerge:
runs-on: ubuntu-latest
name: Auto-merge
steps:
- uses: pascalgn/automerge-action@v0.15.3
if: github.actor == 'github-actions[bot]' || github.actor == 'transifex-integration[bot]'
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_LABELS: ""
MERGE_RETRIES: 10
MERGE_RETRY_SLEEP: 60000