You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two bugs are interacting in cross-repo reusable workflows:
The stale lock check resolves the caller workflow instead of the callee reusable workflow, so it looks for the .md and .lock.yml in the wrong repo and fails as "outdated or unverifiable".
on.stale-check: false is treated as an internal gh-aw flag but is still emitted into the compiled root on: block, producing invalid GitHub Actions YAML.
Observed behavior
In the failing case, the lock check resolved the source repo to the caller repo and then tried to fetch the reusable workflow files there, where they do not exist.
At the same time, trying to disable the check in source frontmatter with:
on:
workflow_call:
stale-check: false
compiles to invalid YAML like:
on:
stale-check: falseworkflow_call:
which GitHub rejects.
Expected behavior
Cross-repo reusable workflow lock checks should resolve the callee reusable workflow as the source of truth.
on.stale-check should affect compiler behavior only and must not be emitted into the final workflow YAML.
Suggested fix
Resolve reusable workflow source from the Actions run referenced_workflows data instead of github.workflow_ref / GITHUB_WORKFLOW_REF.
Strip stale-check from the parsed on map before serializing the compiled root on: section.
Activity
pelikhan commentedon Apr 4, 2026
/plan
github-actions commentedon Apr 4, 2026
✅ Plan Command completed successfully!
stale-checkfromon:block before YAML serialization #24426fix: resolve callee repo for cross-repo reusable workflow stale lock …
Update community contributions in README
[community] Update community contributions in README