Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/contribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,18 @@
# The check is intentionally lightweight: it confirms structure, not content
# quality. Reviewers still have to read what you wrote and decide whether the
# verification path is reasonable for the change.
#
# `pull_request_target` (not `pull_request`) so the workflow runs from the
# base branch's copy of this file — that way the check fires on every PR
# regardless of whether the PR head was branched before this workflow
# existed. Safe because the job only reads `github.event.pull_request.body`
# from the event payload; it never checks out or executes PR-controlled code.
# (The standard `pull_request_target` security caveat is about running
# untrusted PR code with secret access. We do neither.)
name: Contribution

on:
pull_request:
pull_request_target:
types: [opened, edited, synchronize, reopened]
branches: [main]

Expand Down
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
- `CONTRIBUTING.md`, `SECURITY.md`, `.github/PULL_REQUEST_TEMPLATE.md`,
and `.github/workflows/contribution.yml` — formal contribution guide
+ private-disclosure security policy + PR template +
`Contribution / PR body checklist` CI job. Quality / engineering /
`Contribution / PR body checklist` CI job (triggered via
`pull_request_target` so the check runs from the base branch's
workflow definition — fires on every PR regardless of whether the
PR head pre-dates the workflow). Quality / engineering /
bug-fix contributions are explicitly welcomed; every PR must include
a `## Real Behavior Proof` section in the body (CI enforces structure,
reviewer reads the content) so reviewers can see what was actually
Expand Down
Loading