Question 610
A workflow review for a telecommunications provider identifies a specific risk: A pull_request_target workflow checks out and executes code from an untrusted fork while holding a write-capable token. Which implementation step best addresses this exact issue?
Explanation
Correct Answer
The targeted change is appropriate because a high-trust event was combined with arbitrary contributor-controlled code execution. It leads directly to a checkable outcome: Contributor scripts cannot access privileged repository tokens or deployment secrets.
Incorrect Answers
This adjustment addresses Protected production environment instead. For a telecommunications provider, the reported problem is caused by: A high-trust event was combined with arbitrary contributor-controlled code execution.
The proposal may suit Untrusted action allow policy, but it does not resolve the mechanism visible at a telecommunications provider: A high-trust event was combined with arbitrary contributor-controlled code execution.
This adjustment addresses Release approval and rollback instead. For a telecommunications provider, the reported problem is caused by: A high-trust event was combined with arbitrary contributor-controlled code execution.



GitHub Actions (GH-200) Practice Tests