fix(sync): chain names the caller's file, the @ref cut before the path - #8
Merged
Merged
Conversation
This was referenced Sep 14, 2026
jshvn
added a commit
to katoptra/ctan
that referenced
this pull request
Sep 14, 2026
#32) Pins the reusable workflows to lib v2.1.3 (katoptra/lib#8). A run that leaves `.run/chain` now dispatches `sync.yml` by its own file name; before, the chain step asked for a workflow named `main` and failed.
jshvn
added a commit
to katoptra/tlnet
that referenced
this pull request
Sep 14, 2026
#8) Pins the reusable workflows to lib v2.1.3 (katoptra/lib#8). A run that leaves `.run/chain` now dispatches `sync.yml` by its own file name; before, the chain step asked for a workflow named `main` and failed.
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.
What
The chain step derived the caller's workflow file from
GITHUB_WORKFLOW_REFby stripping through the last slash first. The ref part,refs/heads/main, holds slashes, so the result wasmainandgh workflow run mainfound nothing. Every consumer's chained run has failed this way since the step shipped; dropbox run 34837509853 is the one that surfaced it.The cut now lives in
.github/chain-file.sh, which takes the@refoff before the path, and the workflow calls it from the.libcheckout.Test plan
sh .github/chain-file.sh --checkruns the script's own cases and is wired into the ci guards step..run/chainqueues the next run.