Skip to content

Handle multi-line uses: clauses - #1544

Merged
woodruffw merged 3 commits into
mainfrom
ww/repro-1543
Jan 18, 2026
Merged

woodruffw merged 3 commits into
mainfrom
ww/repro-1543

Conversation

@woodruffw

Copy link
Copy Markdown
Member

It turns out GitHub supports this:

uses: |
  foo/bar@baz

Empirically, GitHub appears to handle this by stripping any leading/trailing whitespace from the uses clause itself.

Without handling this, we would incorrectly include insignificant whitespace in e.g. the git ref, causing unpinned-uses mismatches. That would then cause us to fall into the finding flow, where subfeature extraction would fail.

See #1543.

Signed-off-by: William Woodruff <william@yossarian.net>
@woodruffw woodruffw self-assigned this Jan 18, 2026
@woodruffw woodruffw added the bugfix Fixes a known bug label Jan 18, 2026
Signed-off-by: William Woodruff <william@yossarian.net>
Signed-off-by: William Woodruff <william@yossarian.net>
@woodruffw
woodruffw merged commit 5816757 into main Jan 18, 2026
12 checks passed
@woodruffw
woodruffw deleted the ww/repro-1543 branch January 18, 2026 02:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Fixes a known bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant