GITHUB-ACTIONS · Question #66
In which locations can actions be referenced by workflows? (Choose three.)
The correct answer is A. a separate public repository C. the same repository as the workflow D. a published Docker container image on Docker Hub. Actions can be stored in a separate public repository and referenced in workflows by specifying the repository and action name. Actions can also be stored in the same repository as the workflow and referenced directly by their path (e.g., ./.github/actions/my-action). Actions…
Question
In which locations can actions be referenced by workflows? (Choose three.)
Options
- Aa separate public repository
- Ban .action extension file in the repository
- Cthe same repository as the workflow
- Da published Docker container image on Docker Hub
- Ethe runs-on: keyword of a workflow file
- Fthe repository's Secrets settings page
- Ga public NPM registry
How the community answered
(14 responses)- A93% (13)
- E7% (1)
Explanation
Actions can be stored in a separate public repository and referenced in workflows by specifying the repository and action name. Actions can also be stored in the same repository as the workflow and referenced directly by their path (e.g., ./.github/actions/my-action). Actions can be packaged as Docker container images and published to Docker Hub. These can then be referenced in workflows by specifying the Docker image.
Topics
Community Discussion
No community discussion yet for this question.