GitHub resolves `uses: $/{path}` against the repository and commit of
the job's workflow file, not the triggering ones. When those differ, as
with reusable workflows from elsewhere or owner and global workflows:
- such steps are pinned to `self:{repo}/{path}@{sha}` in the runner
payload
- `$/` steps with expressions in their path fail the run as an invalid
workflow, as they can't be pinned safely and GitHub rejects them too
Same-source jobs keep `$/`, so older runners are unaffected.
Assisted-by: Claude Code:claude-opus-5-5
---------
Co-authored-by: Zettat123 <zettat123@gmail.com>