Skip to content

Commit 7060ebc

Browse files
ai: apply changes for #879 (1 review thread)
Addresses: - #3641913695 at .github/workflows/trigger-integration-tests.yml:513 Signed-off-by: peco-engineer-bot[bot] <peco-engineer-bot[bot]@users.noreply.github.com>
1 parent de9eecc commit 7060ebc

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/trigger-integration-tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,12 @@ jobs:
525525
# the failure is noticeable. Uses the default token (checks/PR write
526526
# via job permissions), not the App token, since App-token generation
527527
# is itself a likely failure point.
528-
if: failure() && steps.changed.outputs.source == 'true'
528+
# Gate on source != 'false' rather than == 'true': if the detection
529+
# step itself fails, `source` is never set (empty, not 'true'), and a
530+
# == 'true' gate would skip this handler too, so that failure would
531+
# surface nowhere. Empty and 'true' both satisfy != 'false'; only a
532+
# clean 'false' (no source change, nothing dispatched) stays silent.
533+
if: failure() && steps.changed.outputs.source != 'false'
529534
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7.1.0
530535
with:
531536
github-token: ${{ github.token }}

0 commit comments

Comments
 (0)