From 9d1378fb6e1ce5fdacdfc4a3c1ac38f5b4c5cbd8 Mon Sep 17 00:00:00 2001 From: Mario Campos Date: Mon, 2 Nov 2026 09:23:54 -0600 Subject: [PATCH] Use new `case` expression for evaluating conditional `--update-only` flag --- .github/actions/post-comment/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/post-comment/action.yml b/.github/actions/post-comment/action.yml index 2bf84cf28..28d202a81 100644 --- a/.github/actions/post-comment/action.yml +++ b/.github/actions/post-comment/action.yml @@ -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: |