Exam GitHub-Actions Topic 1 Question 35 Discussion

Actual exam question for GitHub's GitHub-Actions exam
Question #: 35
Topic #: 1
As a developer, what is the safest way to reference an action to prevent modification of the underlying code?

Suggested Answer: A Vote an answer

Using acommit hashis the safest method because it references a specific point in time in the repository's history. This ensures that the action is locked to that exact version and will not be affected by any future changes or modifications to the codebase. Even if the action is updated later, your workflow will continue using the specific commit you referenced.

by Nat at Aug 07, 2026, 06:21 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