A repository stores a composite action in '.github/actions/notify-slack'. Which uses value references it from a workflow in the same repository?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Local actions use a relative path starting with ./ from the repo root. Marketplace-style owner/name@ref would look on GitHub as a public action repo, not your local folder.
Full explanation below image
Full Explanation
To reference an action shipped inside the same repository, set uses: to a relative path such as ./.github/actions/notify-slack. GitHub resolves that path from the workspace after checkout (ensure actions/checkout runs first if the action files are not otherwise available). uses: actions/notify-slack@v1 points at the actions organization on GitHub, not your local directory. local:// and github:// schemes are not the standard uses syntax for this case. You can also reference actions in other repos with owner/repo/path@ref. Pin third-party actions by commit SHA for security; local path actions track whatever is in the default checkout of the triggering ref for that workflow run.