From 7c1095ea50ef75a3174ab4acd144b07e4ffc3d33 Mon Sep 17 00:00:00 2001 From: tooomm Date: Mon, 22 Jan 2024 22:07:21 +0100 Subject: [PATCH] CI: Fix ignore pattern & highlight status of translation automations (#4977) * Add result of run to GHA summary * Fix `paths-ignore` --- .github/workflows/desktop-build.yml | 2 +- .github/workflows/translations-pull.yml | 6 +++--- .github/workflows/translations-push.yml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index aad864df..93cf83e3 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -16,7 +16,7 @@ on: - '**.md' - 'webclient/**' - '.github/workflows/web-*.yml' - - '.github/workflows/translations.yml' + - '.github/workflows/translations-*.yml' # Cancel earlier, unfinished runs of this workflow on the same branch (unless on master) concurrency: diff --git a/.github/workflows/translations-pull.yml b/.github/workflows/translations-pull.yml index dccf6355..f1aa5d29 100644 --- a/.github/workflows/translations-pull.yml +++ b/.github/workflows/translations-pull.yml @@ -65,8 +65,8 @@ jobs: STATUS: ${{ steps.create_pr.outputs.pull-request-operation }} run: | if [[ "$STATUS" == "" ]]; then - echo "PR #${{ steps.create_pr.outputs.pull-request-number }} unchanged!" + echo "PR #${{ steps.create_pr.outputs.pull-request-number }} unchanged!" >> "$GITHUB_OUTPUT" else - echo "PR #${{ steps.create_pr.outputs.pull-request-number }} $STATUS!" + echo "PR #${{ steps.create_pr.outputs.pull-request-number }} $STATUS!" >> "$GITHUB_OUTPUT" fi - echo "URL: ${{ steps.create_pr.outputs.pull-request-url }}" + echo "URL: ${{ steps.create_pr.outputs.pull-request-url }}" >> "$GITHUB_OUTPUT" diff --git a/.github/workflows/translations-push.yml b/.github/workflows/translations-push.yml index e8b3dabf..552bbf61 100644 --- a/.github/workflows/translations-push.yml +++ b/.github/workflows/translations-push.yml @@ -80,8 +80,8 @@ jobs: STATUS: ${{ steps.create_pr.outputs.pull-request-operation }} run: | if [[ "$STATUS" == "" ]]; then - echo "PR #${{ steps.create_pr.outputs.pull-request-number }} unchanged!" + echo "PR #${{ steps.create_pr.outputs.pull-request-number }} unchanged!" >> "$GITHUB_OUTPUT" else - echo "PR #${{ steps.create_pr.outputs.pull-request-number }} $STATUS!" + echo "PR #${{ steps.create_pr.outputs.pull-request-number }} $STATUS!" >> "$GITHUB_OUTPUT" fi - echo "URL: ${{ steps.create_pr.outputs.pull-request-url }}" + echo "URL: ${{ steps.create_pr.outputs.pull-request-url }}" >> "$GITHUB_OUTPUT"