fix(review-pr): fix TIMEOUT_NOTE multi-line string breaking YAML block scalar#205
Merged
Merged
Conversation
…k scalar The TIMEOUT_NOTE assignment spanned multiple lines where continuation lines started at column 0. YAML terminates a run: | block scalar when a line's indentation drops below the established level, causing the runner to fail parsing action.yml with "did not find expected key". Replace the multi-line string literal with $'\n' concatenation so all lines stay within the block scalar's indentation boundary. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
1 task
dvdksn
added a commit
to docker/docs
that referenced
this pull request
May 12, 2026
v1.5.2's review-pr/action.yml has a YAML parse error at line 822 that breaks the PR review workflow. Tracking upstream at docker/cagent-action#205. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
derekmisler
approved these changes
May 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
review-pr/action.ymlfails to load with:The
TIMEOUT_NOTEassignment spans multiple lines where continuation lines start at column 0:YAML terminates a
run: |block scalar when a line's indentation drops below the established level. Lines 822–823 at column 0 cause the parser to exit the block scalar and treat- **Timeout limit:**as a top-level YAML sequence item, breaking action manifest loading.Fix
Replace the multi-line string literal with
$'\n'concatenation so all lines remain within the block scalar's indentation boundary. The string value is identical.Impact
Introduced in v1.5.2, causes
startup_failurefor all consumers ofreview-pr. Verified: SHA2f85a38bis broken; v1.5.1 (db555b0a) does not have this code path.