From 2293d965abd8cf9843e61e6c10e82ab528475ee1 Mon Sep 17 00:00:00 2001 From: pierreozoux Date: Mon, 27 Jul 2020 13:32:15 +0200 Subject: [PATCH 1/2] Adds auto merge of transifex bot PRs. Signed-off-by: pierreozoux --- .github/workflows/transifex.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/transifex.yml diff --git a/.github/workflows/transifex.yml b/.github/workflows/transifex.yml new file mode 100644 index 000000000..d138df0a1 --- /dev/null +++ b/.github/workflows/transifex.yml @@ -0,0 +1,24 @@ +name: Transifex +on: pull_request + +jobs: + approve: + runs-on: ubuntu-latest + name: Approve + steps: + - uses: hmarr/auto-approve-action@v2.0.0 + if: github.actor == 'Transifex-localization-platform[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.8.5 + if: github.actor == 'Transifex-localization-platform[bot]' || github.actor == 'transifex-integration[bot]' + env: + GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + MERGE_LABELS: "" + MERGE_RETRIES: 6 + MERGE_RETRY_SLEEP: 30000 \ No newline at end of file From 32e4cee00f056f3d751fb8b090ff45d104586acb Mon Sep 17 00:00:00 2001 From: Pierre Ozoux Date: Mon, 27 Jul 2020 13:42:12 +0200 Subject: [PATCH 2/2] Update .github/workflows/transifex.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: John Molakvoæ --- .github/workflows/transifex.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/transifex.yml b/.github/workflows/transifex.yml index d138df0a1..cdc6b4611 100644 --- a/.github/workflows/transifex.yml +++ b/.github/workflows/transifex.yml @@ -21,4 +21,4 @@ jobs: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" MERGE_LABELS: "" MERGE_RETRIES: 6 - MERGE_RETRY_SLEEP: 30000 \ No newline at end of file + MERGE_RETRY_SLEEP: 30000