Skip to content

Fetch PR branch in semver-check workflow#718

Merged
mrobinson merged 1 commit intoservo:mainfrom
simonwuelker:semver-fix-again
Jan 19, 2026
Merged

Fetch PR branch in semver-check workflow#718
mrobinson merged 1 commit intoservo:mainfrom
simonwuelker:semver-fix-again

Conversation

@simonwuelker
Copy link
Copy Markdown
Member

@simonwuelker simonwuelker commented Jan 19, 2026

The semver CI job is still failing after #715. In https://github.com/servo/html5ever/actions/runs/21148626657/job/60819760648 we can see that the job checks out the remote main instead of the PR branch, and then fails to fetch main again at a later point. This change explicitly specifies ref: refs/pull/${{ github.event.pull_request.number }}/head on the checkout action which should fix the issue.

I've tested this on my fork and it seems to work (successful run is here), though evidently that doesn't mean much.

Note that the job will fail on this PR too, as it uses the workflow definition from main.

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
@mrobinson mrobinson added this pull request to the merge queue Jan 19, 2026
Merged via the queue into servo:main with commit b4194ce Jan 19, 2026
8 of 9 checks passed
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.

2 participants