damccorm opened a new pull request, #41973:
URL: https://github.com/apache/beam/pull/41973
Addresses #41911 (Phase 1 / PR 1.5, stacked on #41963 to stay off disabled
`pull_request_target`).
### Summary
- Replaces the commented-out `.github/PULL_REQUEST_TEMPLATE.md` with an
active template containing:
- Required author review attestation checkbox (`- [ ] I, the PR author,
have personally reviewed every line of this PR.`), enforced for all human PRs.
- Concise Summary / Verification prompts discouraging verbose walls of
text.
- Optional Beam User Impact checkboxes (production bug, configuration
unblocking use case, feature unblocking use case) with a motivation prompt.
- Removes stale legacy `website/.github/PULL_REQUEST_TEMPLATE.md`.
- Adds `edited` to `.github/workflows/pr_signal.yml` so checking/unchecking
boxes triggers `LabelPrs` promptly.
- Adds `.test-infra/actions/sync_pr_template_labels.js` and wires it into
`.github/workflows/label_prs.yml` to sync `needs-author-attestation` (all human
PRs; bots exempt) and `user-impact: bug`, `user-impact: config`, `user-impact:
feature` (respecting manual committer label removals across scheduled sweeps).
- Adds unit tests in `.test-infra/actions/labeler_scripts_test.js`.
### Verification
- Ran `node --test .test-infra/actions/labeler_scripts_test.js` under Node
24 (11/11 tests passing).
- Validated YAML syntax, Apache 2.0 headers, and whitespace hygiene.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]