Skip to content
Merged
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
7 changes: 7 additions & 0 deletions .github/workflows/pr-body-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,20 @@ name: PR body check
# the REST API or `gh pr create --body "..."` (the path most AI tools take)
# silently skips it. This check is the only thing that actually enforces it.
#
# Uses pull_request_target (in addition to pull_request) so fork PRs always run
# the workflow from main. The job only reads github.event.pull_request.body —
# it does not check out PR head code.
#
# Recovery is automatic: editing the PR description fires the `edited` event and
# re-runs this check with the new body. No new commit or manual re-run needed.

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

permissions:
contents: read
Expand Down
Loading