Exam GitHub-Foundations Topic 4 Question 45 Discussion
Actual exam question for GitHub's GitHub-Foundations exam
Question #: 45
Topic #: 4
Question #: 45
Topic #: 4
Workflows can reference actions in:
(Each correct answer presents a complete solution. Choose three.)
(Each correct answer presents a complete solution. Choose three.)
Suggested Answer: A,B,E Vote an answer
In GitHub Actions workflows, actions can be referenced from various sources depending on the needs of the workflow.
* Any Public Repository:
* Option Ais correct. Actions can be referenced from any public GitHub repository, allowing the reuse of shared actions across multiple projects.
* The Same Repository as Your Workflow File:
* Option Bis correct. Actions stored in the same repository as the workflow file can be referenced directly, which is common for custom actions specific to that project.
* A Published Docker Container Image on Docker Hub:
* Option Eis correct. Workflows can reference actions that are provided as Docker container images hosted on Docker Hub, allowing integration of complex tools and environments.
* Incorrect Options:
* Option C(GitHub Packages) is incorrect as it is more commonly used for storing and managing dependencies, not actions.
* Option D(An enterprise marketplace) is incorrect because GitHub Actions are not directly referenced from an enterprise marketplace but rather from public repositories or Docker images.
References:
* GitHub Docs: Reusing Workflows
* Any Public Repository:
* Option Ais correct. Actions can be referenced from any public GitHub repository, allowing the reuse of shared actions across multiple projects.
* The Same Repository as Your Workflow File:
* Option Bis correct. Actions stored in the same repository as the workflow file can be referenced directly, which is common for custom actions specific to that project.
* A Published Docker Container Image on Docker Hub:
* Option Eis correct. Workflows can reference actions that are provided as Docker container images hosted on Docker Hub, allowing integration of complex tools and environments.
* Incorrect Options:
* Option C(GitHub Packages) is incorrect as it is more commonly used for storing and managing dependencies, not actions.
* Option D(An enterprise marketplace) is incorrect because GitHub Actions are not directly referenced from an enterprise marketplace but rather from public repositories or Docker images.
References:
* GitHub Docs: Reusing Workflows
by Maxwell at Dec 10, 2025, 07:51 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).