- DevOps engineer
- Junior
- 30 min
A pull request with the right scope
The kiosk team missed a pull request check. Repair the workflow so pull requests to the requested branch run only when the requested service directory changes. Run the supplied event and keep the token read-only. Scope: base branch review-120; service paths services/kiosk-120/**; job check.
Skills and rubricA pull request with the right scope
- Explain the workflow change and compare its observable result with the request.
- I compare the pull request base branch and changed paths because both filters must match before a run starts. The job log must show the kiosk test passing on this event. I keep contents at read; the check does not need permission to publish code.
- I check the trigger configuration as well as the successful run because one matching event cannot prove that unrelated changes stay out. A docs-only pull request and a pull request to another base branch are separate negative tests. This local event model does not contact a repository or create a required status check.