rohitjmathew/PR Template Enforcer
Enforces compliance with PR templates and ensures standardized PR descriptions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| github-token | GitHub token used to interact with the GitHub API | yes | ${{ github.token }} |
| required-sections | JSON array of section headings that must be present in the PR description | no | ["## Summary", "## Changes", "## Testing"] |
| jira-pattern | Regular expression pattern for validating JIRA ticket references (leave empty to skip validation) | no | ^[A-Z]+-\\d+ |
| skip-users | JSON array of GitHub usernames to skip validation for | no | ["dependabot[bot]", "github-actions[bot]"] |
| skip-service-accounts | JSON array of substrings to identify service accounts to skip validation for | no | ["bot", "dependabot", "renovate", "github-actions"] |
| label-name | Label to apply to PRs that do not comply with the template | no | needs-description |
| enforce-template | Whether to enforce the repository PR template structure | no | true |
| require-task-completion | Whether to require at least one task list item to be completed in each section | no | false |
Outputs
no outputs