Skip to content

fix(comment-preview-url): unbreak workflow validation#93

Merged
patrick-hermann-sva merged 1 commit into
mainfrom
fix/comment-preview-url-description-escape
May 19, 2026
Merged

fix(comment-preview-url): unbreak workflow validation#93
patrick-hermann-sva merged 1 commit into
mainfrom
fix/comment-preview-url-description-escape

Conversation

@patrick-hermann-sva
Copy link
Copy Markdown
Contributor

Summary

#92 added an additional-urls input whose description: block embedded a literal \${{ github.event.number }} expression inside the example string. GitHub Actions evaluates \${{ }} even inside description: text, and github.event.number isn't resolvable at workflow-load time — every caller of this reusable workflow has been failing with the generic "This run likely failed because of a workflow file issue" error since #92 merged on 2026-05-18T12:40Z.

Impact (confirmed)

Fix

Rewords the example to use a NUMBER placeholder with a one-line note pointing readers at the caller-side expression form. Pure docs change; no behaviour change for callers.

Test plan

🤖 Generated with Claude Code

Commit 97ebd53 added an `additional-urls` input whose `description`
block embedded a literal `${{ github.event.number }}` expression
inside the example string. GitHub Actions evaluates `${{ }}` even
inside `description:` text, and `github.event.number` isn't resolvable
at workflow-load time — every caller of this reusable workflow has
been failing with "This run likely failed because of a workflow file
issue" since the merge of #92 on 2026-05-18T12:40Z.

Confirmed broken on:
- stuttgart-things/homerun2-git-pitcher (first failure 37s after #92)
- stuttgart-things/homerun2-led-catcher (every run on its new PR
  workflow set since landing)

Rewords the example to a placeholder (`NUMBER`) with a one-line note
pointing the reader at the caller-side expression. Pure docs change;
no behaviour change for callers.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@patrick-hermann-sva patrick-hermann-sva merged commit f7442f1 into main May 19, 2026
2 checks passed
@patrick-hermann-sva patrick-hermann-sva deleted the fix/comment-preview-url-description-escape branch May 19, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant