Use new case expression for evaluating conditional --update-only flag

This commit is contained in:
Mario Campos
2026-11-02 09:23:54 -06:00
parent 4094755f8c
commit 9d1378fb6e

View File

@@ -29,7 +29,7 @@ runs:
env:
BODY: ${{ inputs.body }}
MARKER: ${{ inputs.marker }}
UPDATE_ONLY: ${{ (inputs.update-only == 'true' && '--update-only') || '' }}
UPDATE_ONLY: ${{ case(inputs.update-only == 'true', '--update-only', '') }}
GH_TOKEN: ${{ inputs.token }}
ISSUE_ID: ${{ inputs.issue-id || github.event.pull_request.number }}
run: |