Enforce semantic pull request titles on GitHub and track merged PRs by type — publish commit statuses, comment on invalid titles, and see merge trends in the console.
Built with SuperPlane.
- On pull request — listen for
opened,edited,synchronize, andclosedevents on a selected repository - Validate title — check the title against semantic types (
feat,fix,docs,chore) - Enforce — on open, edit, or sync, publish a Semantic PR title commit status (success or failure) and comment on invalid titles when a PR is opened or edited
- Record merges — when a PR is merged, increment the weekly count for its semantic
typein thesemanticPrWeeklyStatsmemory namespace - Setup — run with a
repositoryparameter (owner/repo) to backfill weekly merge statistics for the current year - Console — totals by type this year and a bar chart of merged PRs by week
- SuperPlane account
- GitHub integration connected to the target repository
Run Setup and enter the repository as owner/repo (for example, superplanehq/superplane).
Add a secret named GITHUB_TOKEN on the Fetch weekly stats node. It is used only by Setup to backfill weekly merge statistics for the current year.
- Private repositories: required
- Public repositories: optional, but recommended to avoid unauthenticated API rate limits
- Repository access: Only select repositories → choose the target repository
- Repository permissions:
- Metadata: Read
- Pull requests: Read
- Issues: Read
MIT