From 6616cc0decbcd2efae5bd2b6568b225dee81363f Mon Sep 17 00:00:00 2001 From: Phred Lane Date: Sun, 14 Jun 2026 12:41:48 -0500 Subject: [PATCH] updated format based on code review Co-authored-by: tooomm --- .github/workflows/desktop-build.yml | 9 +-------- .github/workflows/translations-pull.yml | 9 +-------- .github/workflows/translations-push.yml | 9 +-------- 3 files changed, 3 insertions(+), 24 deletions(-) diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index e8d955745..b7eaaea92 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -50,14 +50,7 @@ jobs: steps: - name: "Configure" env: - RESOLVED_SHA: >- - ${{ - case( - github.event_name == 'pull_request', - github.event.pull_request.head.sha, - github.sha - ) - }} + RESOLVED_SHA: ${{ case(github.event_name == 'pull_request', github.event.pull_request.head.sha, github.sha) }} id: configure shell: bash run: | diff --git a/.github/workflows/translations-pull.yml b/.github/workflows/translations-pull.yml index eb12ddda1..bafcfe022 100644 --- a/.github/workflows/translations-pull.yml +++ b/.github/workflows/translations-pull.yml @@ -63,14 +63,7 @@ jobs: env: PR_NUMBER: ${{ steps.create_pr.outputs.pull-request-number }} PR_URL: ${{ steps.create_pr.outputs.pull-request-url }} - STATUS: >- - ${{ - case( - steps.create_pr.outputs.pull-request-operation == 'none', - 'unchanged', - steps.create_pr.outputs.pull-request-operation - ) - }} + STATUS: ${{ case(steps.create_pr.outputs.pull-request-operation == 'none', 'unchanged', steps.create_pr.outputs.pull-request-operation) }} run: | echo "PR #$PR_NUMBER $STATUS!" >> "$GITHUB_STEP_SUMMARY" echo "URL: $PR_URL" >> "$GITHUB_STEP_SUMMARY" diff --git a/.github/workflows/translations-push.yml b/.github/workflows/translations-push.yml index a4a32b979..efdfeaf3d 100644 --- a/.github/workflows/translations-push.yml +++ b/.github/workflows/translations-push.yml @@ -80,14 +80,7 @@ jobs: env: PR_NUMBER: ${{ steps.create_pr.outputs.pull-request-number }} PR_URL: ${{ steps.create_pr.outputs.pull-request-url }} - STATUS: >- - ${{ - case( - steps.create_pr.outputs.pull-request-operation == 'none', - 'unchanged', - steps.create_pr.outputs.pull-request-operation - ) - }} + STATUS: ${{ case(steps.create_pr.outputs.pull-request-operation == 'none', 'unchanged', steps.create_pr.outputs.pull-request-operation) }} run: | echo "PR #$PR_NUMBER $STATUS!" >> "$GITHUB_STEP_SUMMARY" echo "URL: $PR_URL" >> "$GITHUB_STEP_SUMMARY"