A team requires agent-plan-check / check-plan before merging Copilot-generated pull requests. A Copilot PR changes implementation files but does not include agent-plan.json. The required check is stuck as pending instead of failing. Which option best explains the behaviour? Select one answer.
Workflow file: .github/workflows/agent-plan-check.yml
Required check: agent-plan-check / check-plan
on:
pull_request:
paths:
- agent-plan.json
- .github/workflows/agent-plan-check.yml
Pull request changed files:
src/billing/reconcile.ts
tests/billing/reconcile.test.ts
Workflow result:
No workflow run found for this pull request update.
Branch protection:
Required status check "agent-plan-check / check-plan" is expected.
Merge blocked: Waiting for status to be reported.Choose an answer
Tap an option to check your answer.
Correct answer: The path filter skipped the required workflow.
Why this is the answer
The workflow's on: pullrequest: paths: configuration specifies that the workflow should only run if agent-plan.json or .github/workflows/agent-plan-check.yml are modified. The provided pull request only changed src/billing/reconcile.ts and tests/billing/reconcile.test.ts. Since none of the specified paths were touched, the workflow was skipped entirely, leading to "No workflow run found for this pull request update." Consequently, the required status check remains pending because it was never initiated. Incorrect options: GITHUBTOKEN permissions are irrelevant here; the workflow didn't even attempt to run. Copilot CLI launch location is not related to GitHub Actions workflow execution. jq validation would occur during a workflow run, but no run was triggered.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed