updated format based on code review

Co-authored-by: tooomm <tooomm@users.noreply.github.com>
This commit is contained in:
Phred Lane 2026-06-14 12:41:48 -05:00 committed by GitHub
parent cfe9ddadf1
commit 6616cc0dec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 24 deletions

View file

@ -50,14 +50,7 @@ jobs:
steps: steps:
- name: "Configure" - name: "Configure"
env: env:
RESOLVED_SHA: >- RESOLVED_SHA: ${{ case(github.event_name == 'pull_request', github.event.pull_request.head.sha, github.sha) }}
${{
case(
github.event_name == 'pull_request',
github.event.pull_request.head.sha,
github.sha
)
}}
id: configure id: configure
shell: bash shell: bash
run: | run: |

View file

@ -63,14 +63,7 @@ jobs:
env: env:
PR_NUMBER: ${{ steps.create_pr.outputs.pull-request-number }} PR_NUMBER: ${{ steps.create_pr.outputs.pull-request-number }}
PR_URL: ${{ steps.create_pr.outputs.pull-request-url }} PR_URL: ${{ steps.create_pr.outputs.pull-request-url }}
STATUS: >- STATUS: ${{ case(steps.create_pr.outputs.pull-request-operation == 'none', 'unchanged', steps.create_pr.outputs.pull-request-operation) }}
${{
case(
steps.create_pr.outputs.pull-request-operation == 'none',
'unchanged',
steps.create_pr.outputs.pull-request-operation
)
}}
run: | run: |
echo "PR #$PR_NUMBER $STATUS!" >> "$GITHUB_STEP_SUMMARY" echo "PR #$PR_NUMBER $STATUS!" >> "$GITHUB_STEP_SUMMARY"
echo "URL: $PR_URL" >> "$GITHUB_STEP_SUMMARY" echo "URL: $PR_URL" >> "$GITHUB_STEP_SUMMARY"

View file

@ -80,14 +80,7 @@ jobs:
env: env:
PR_NUMBER: ${{ steps.create_pr.outputs.pull-request-number }} PR_NUMBER: ${{ steps.create_pr.outputs.pull-request-number }}
PR_URL: ${{ steps.create_pr.outputs.pull-request-url }} PR_URL: ${{ steps.create_pr.outputs.pull-request-url }}
STATUS: >- STATUS: ${{ case(steps.create_pr.outputs.pull-request-operation == 'none', 'unchanged', steps.create_pr.outputs.pull-request-operation) }}
${{
case(
steps.create_pr.outputs.pull-request-operation == 'none',
'unchanged',
steps.create_pr.outputs.pull-request-operation
)
}}
run: | run: |
echo "PR #$PR_NUMBER $STATUS!" >> "$GITHUB_STEP_SUMMARY" echo "PR #$PR_NUMBER $STATUS!" >> "$GITHUB_STEP_SUMMARY"
echo "URL: $PR_URL" >> "$GITHUB_STEP_SUMMARY" echo "URL: $PR_URL" >> "$GITHUB_STEP_SUMMARY"