Question
In which locations can actions be referenced by workflows? (Each correct answer presents a complete solution. Choose three.)
- A. an .action extension file in the repository
- B. a published Docker container image on Docker Hub Correct
- C. a public NPM registry
- D. the runs-on: keyword of a workflow file
- E. the repository’s Secrets settings page
- F. a separate public repository Correct
- G. the same repository as the workflow Correct
Explanation
A workflow can use actions from the same repository as the workflow file, from any public repository (owner/repo@ref), and from a published Docker container image on Docker Hub (docker://image:tag). Actions are not pulled from an NPM registry, there is no .action file type, runs-on selects the runner rather than an action, and the Secrets settings page stores secrets, not actions.