Repository navigation
Conversation
The caller checkout's persisted GITHUB_TOKEN hid build-helper from ls-remote since d19cc11, so every caller ran main.
sebastienpro
approved these changes
Dec 1, 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.
Issue
Since d19cc11 (2026-02-03) every caller runs build-helper
maininstead of the latest tag. The lookup now runs after the caller'sactions/checkout, which persists the repo's GITHUB_TOKEN as anhttp.extraheaderin the workspace. That header overrides HELPER_TOKEN in the URL, the repo-scoped token cannot see build-helper, andgit ls-remotefails with "Repository not found". The step did not stop on the error, HELPER_VERSION stayed empty, and the build-helper checkout fell back to the default branch (seen in leela, maps and authentication deploy and smoke test logs).Describe your changes
$RUNNER_TEMP, outside the caller workspace, so HELPER_TOKEN is the credential git uses.set -euo pipefail, and fail the step when no tag matches instead of silently checking outmain.--refsdrops peeled^{}entries from the tag list.v10.*instead ofv8.*. Callers already run that code: build-helpermainandv10.0.0are the same commit (0926f7f), so this changes nothing today. From now on, merges to build-helper reach callers only once tagged.How to test
refs/tags/v10.0.0and the build-helper checkout logs commit 0926f7f.build_helper_branchstill overrides the lookup (maps pinsv10.0.0through it).main.Checklist:
Documentation
N/A
Libs/SDKs
N/A