mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-02 17:59:36 +07:00
Another attempt to fix l10n bot.
Signed-off-by: Pierre Ozoux <pierre@ozoux.net>
This commit is contained in:
15
.github/workflows/generate_catalog_templates.yml
vendored
15
.github/workflows/generate_catalog_templates.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: L10n
|
||||
name: Generate catalog templates (POT) files fetched automatically by transifex
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
@@ -23,3 +23,16 @@ jobs:
|
||||
title: l10n
|
||||
branch: update-l10n
|
||||
signoff: true
|
||||
- uses: pascalgn/automerge-action@v0.15.3
|
||||
if: steps.cpr.outputs.pull-request-operation == 'created'
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
MERGE_LABELS: ""
|
||||
MERGE_RETRIES: 10
|
||||
MERGE_RETRY_SLEEP: 60000
|
||||
PULL_REQUEST: ${{ github.event.inputs.pull-request-number }}
|
||||
- uses: hmarr/auto-approve-action@v2.2.1
|
||||
if: steps.cpr.outputs.pull-request-operation == 'created'
|
||||
with:
|
||||
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
pull-request-number: ${{ github.event.inputs.pull-request-number }}
|
||||
|
||||
6
.github/workflows/transifex.yml
vendored
6
.github/workflows/transifex.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: AutoMerge everything translations (Transifex and pot files update)
|
||||
name: AutoMerge Transifex Pull Requests
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
@@ -7,7 +7,7 @@ jobs:
|
||||
name: Approve
|
||||
steps:
|
||||
- uses: hmarr/auto-approve-action@v2.2.1
|
||||
if: github.actor == 'github-actions[bot]' || github.actor == 'transifex-integration[bot]'
|
||||
if: 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 == 'github-actions[bot]' || github.actor == 'transifex-integration[bot]'
|
||||
if: github.actor == 'transifex-integration[bot]'
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||
MERGE_LABELS: ""
|
||||
|
||||
Reference in New Issue
Block a user