Exam GitHub-Actions Topic 3 Question 20 Discussion

Actual exam question for GitHub's GitHub-Actions exam
Question #: 20
Topic #: 3
What can be used to set a failed status of an action from its code?

Suggested Answer: D Vote an answer

A non-zero exit code is used to set the status of an action to "failed" in GitHub Actions. When the action's script or code exits with a non-zero status, it indicates failure, and GitHub will mark the action as failed.

by Erin at Oct 21, 2025, 10:50 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

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.

0
0
0
10