Fix pr-number input type: use string instead of number#208
Merged
Conversation
Reusable workflow inputs typed as 'number' reject string values from job outputs. Change pr-number to type: string and update the skip condition and default accordingly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes a GitHub Actions reusable workflow input type mismatch that caused the fork PR evaluation workflow to fail when passing a PR number via job outputs (strings) into an input declared as a number.
Changes:
- Change
pr-numberinput type inevaluation-run.ymlfromnumbertostring, with''meaning “skip commenting”. - Update the PR-number fallback in
evaluation.ymlfrom0to''and align the comment-posting skip condition accordingly.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .github/workflows/evaluation.yml | Updates the pr-number value passed into the reusable workflow to use empty-string as the “no PR” sentinel. |
| .github/workflows/evaluation-run.yml | Retypes pr-number to string and updates the conditional that decides whether to comment on the PR. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
Skill Validation Results
Model: claude-opus-4.6 | Judge: claude-opus-4.6 |
JanKrivanek
approved these changes
Mar 4, 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.
Reusable workflow inputs typed as
umber\ reject string values from job outputs (which are always strings). This caused the
un-evaluation\ reusable workflow call to fail immediately in the fork PR evaluation workflow.
Changes: