Improve readability

This commit is contained in:
Volodymyr Zotov
2025-10-31 10:00:59 -05:00
parent 41a4881385
commit 36719a2029

View File

@@ -18,7 +18,10 @@ on:
types: [ ok-to-test-command ]
concurrency:
group: ${{ github.event_name == 'pull_request' && format('e2e-{0}', github.event.pull_request.head.ref) || format('e2e-{0}', github.event.client_payload.pull_request.head.ref) }}
group: >-
${{ github.event_name == 'pull_request' &&
format('e2e-{0}', github.event.pull_request.head.ref) ||
format('e2e-{0}', github.event.client_payload.pull_request.head.ref) }}
cancel-in-progress: true # cancel previous job runs for the same branch
jobs:
@@ -96,7 +99,11 @@ jobs:
with:
issue-number: ${{ github.event.client_payload.pull_request.number }}
body: |
${{ needs.e2e-test.result == 'success' && '✅ E2E tests passed.' || needs.e2e-test.result == 'failure' && '❌ E2E tests failed.' || '⚠️ E2E tests completed.' }}
${{
needs.e2e-test.result == 'success' && '✅ E2E tests passed.' ||
needs.e2e-test.result == 'failure' && '❌ E2E tests failed.' ||
'⚠️ E2E tests completed.'
}}
[View test run output][1]