Refer to https://docs.google.com/document/d/1txFFr-X2gg7EGfVfaJjBJZRPWYg6wGxTHne7cD85Ipk/edit?usp=sha ring Lucerne needs to implement Planned change 5 and Technical requirement 5. The required report-policy check must run when files under release-reports/** change. The workflow validates report metadata and comments nowhere, commits nothing, and uploads no SARIF. Which option completes the workflow?
name: report-policy
on:
pull_request:
branches:
- main
paths:
- (Missing value 1)
permissions:
contents: (Missing value 2)
pull-requests: (Missing value 3)
issues: none
jobs:
validate-report:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate release report metadata
run: |
python scripts/validate_release_report.py release-reports/Choose an answer
Tap an option to check your answer.
Correct answer: Missing value 1 = "release-reports/**" Missing value 2 = read Missing value 3 = read.
Why this is the answer
The correct option aligns with the requirements for the workflow. "Missing value 1 = 'release-reports/'" correctly specifies that the workflow should trigger when files under release-reports/ change, as stated in the problem description. "Missing value 2 = read" and "Missing value 3 = read" are appropriate because the workflow only validates report metadata and does not modify repository content or pull requests, thus requiring only read permissions. The other options are incorrect because they either specify the wrong path for triggering the workflow, assign excessive write permissions when only read is needed, or assign none permissions when read is required for checkout and validation. For instance, reports/ is too broad, and analysis/thresholds/ or .github/agent-state/ are irrelevant to the specified release-reports/ path. Assigning write permissions when not needed violates the principle of least privilege.
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