SIGN IN SIGN UP
Homebrew / brew UNCLAIMED

🍺 The missing package manager for macOS (or Linux)

0 0 185 Ruby

workflows: close incomplete PRs

- Close PRs unless the body preserves 75% of the current template and
  includes human content or checked boxes.
- Use `pull_request_target` with no checkout and fetch only
  `.github/PULL_REQUEST_TEMPLATE.md` from `main` by API.
- Inline the template matching Ruby so the workflow has no helper script
  to fetch and each `gh api` call remains isolated to one step.
- Require the `PR_BODY` env binding to exist instead of silently
  defaulting it inside the shell.
M
Mike McQuaid committed
58d3a77fe32a1ebbc80c1c928ab148ebac4709fb
Parent: dd39104