{"category_id":"repository","default_severity":"warning","description":"Each required PR section needs a heading in the PR template. Merge Risk is always required by Review Policy; required_body_sections adds other required headings.","examples":[{"after":"{\"required\":[\"What & why\",\"Test evidence\"],\"template\":\"## What & why\\n\\n## Test evidence\\n\"}","before":"{\"required\":[\"What & why\",\"Test evidence\"],\"template\":\"## What & why\\n\"}","expected_severity":"warning","id":"sarj-documentation-pull-request-template-sections","language":"json","title":"The PR template has no Test evidence heading"},{"after":"{\"required\":[\"What & why\"],\"template\":\"## What & why\\n\"}","before":"{\"required\":[\"What & why\"],\"template\":null}","expected_severity":"warning","id":"sarj-documentation-pull-request-template-absent","language":"json","title":"There is no PR template"},{"after":"{\"required\":[],\"template\":null}","before":"{\"required\":[\"Test evidence\"],\"template\":null}","expected_severity":"warning","id":"sarj-documentation-pull-request-template-optional","language":"json","title":"No required headings need no template"}],"fix":"Add the missing heading to the PR template.","kind":"rule","references":[],"rule_id":"repository/documentation/pull-request-template-sections","rule_version":3,"slug":"pull-request-template-sections","source":{"path":"src/repo_standards/policy_sarj/policy.py","symbol":"repository/documentation/pull-request-template-sections"},"title":"Keep the PR template in sync with required sections","topic_id":"documentation","why":"People write PRs from the template. If a required heading is not there, their PR fails the check."}
