Files
gitea/services/actions
silverwindandZettat123 3317a31c22 fix(actions): resolve $/ steps against the job's workflow source (#40075)
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>
2026-11-14 07:15:46 +00:00
..