GitHub Actions
GitHub Actions reusable workflow uses does not allow contexts or expressions
GitHub Actions rejected a reusable workflow reference because jobs.<job_id>.uses must be a static workflow path and ref, not an expression-driven value.
GitHub Actions
GitHub Actions rejected a reusable workflow reference because jobs.<job_id>.uses must be a static workflow path and ref, not an expression-driven value.
Observed message
You cannot use contexts or expressions in this keyword.
Why it happens
How to fix it
Official reference
GitHub Docs: Workflow syntax for GitHub ActionsRelated errors
Explore more