Referencing Same-Repository Actions with GitHub's Self-Repository Syntax
August 31, 2026

Streamlining Workflow References in Your Repository
GitHub introduced the self-repository syntax to make managing actions and reusable workflows within the same repository easier. By beginning a 'uses:' value with $/, you can now directly point to internal actions or workflows without extra repository linking.
Why This Matters
Previously, referencing actions or workflows in the same repository could be less straightforward, sometimes requiring redundant declarations or external referencing. The new syntax centralizes your CI/CD logic, promoting cleaner and more maintainable configuration files.
How to Use the New Syntax
Simply start your uses: key with $/ followed by the relative path to your action or workflow file. This tells GitHub to resolve the reference within the current repository context. This approach facilitates reusability and reduces errors due to incorrect references.
Embracing this update can lead to more robust and maintainable automation pipelines in your projects.