GitHub Actions Adds $/ Syntax to Self-Reference Actions Without Version Pinning
GitHub Actions now supports a new $/ syntax that allows workflows to reference actions or reusable workflows within the same repository without hardcoding version tags or using workaround paths. The $/ prefix automatically resolves to the repository's own context at the exact commit currently running, eliminating the need for a prior checkout step. Previously, developers had to use ./ references requiring a full checkout first, or manually maintain version tags that could drift from the active commit. The feature works across workflow steps, composite actions, nested compositions, and reusable workflow calls, and is currently available on github.com as of the August 2026 changelog. It requires GitHub Actions runner version 2.336.0 or newer, and GitHub Enterprise Server availability depends on the platform's release track.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in