CI/CDBattleOps
GithubAsked in DevOps engineer and Platform engineer rounds
GitHub Dependabot pull request has a read-only token, so tests are moved to pull_request_target to reach prod secrets
The scenario
Dependabot opens a pull request that bumps a private package. CI fails with 401 because workflows triggered by Dependabot get a read-only token and no Actions secrets. The app build on main is healthy. The fix in review switches that test workflow to pull_request_target and names the production cloud secrets so the install can succeed.
Model answer
Unlock the answer interviewers want to hear
Model answer, what to add at your level, the follow-up, and common mistakes.
INTERVIEW BANK PASSNot on sale right nowEvery drill and interview experience. Renews monthly.
DEVOPS PARKInterview Bank includedInterview Bank included, plus War Zone, labs, roadmaps and Daily Challenge.See DevOps Park plans
3 questions in this drill are free.Read a free one
How to answer at your level
The follow-up they'll ask
Common mistakes