Converted GitHub issue templates from Markdown to YAML Issue Forms with required field enforcement. Added documentation template. Updated PR template with local validation checkbox. Changes: - Added config.yml to disable blank issues and route to Discussions/Security - Converted bug_report, feature_request, performance_regression to .yml forms - Added documentation.yml template for docs issues - Updated security.yml as reference redirect to SECURITY.md - Updated PULL_REQUEST_TEMPLATE.md with local validation checkbox - Bug template enforces pdftract doctor output as required field Closes: pdftract-f29c Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2.8 KiB
2.8 KiB
Verification Note: pdftract-f29c (GitHub Issue and PR Templates)
Summary
Created GitHub issue and PR templates as specified in the bead. All templates use GitHub Issue Forms (YAML format) with required field enforcement.
Files Created/Modified
Created
.github/ISSUE_TEMPLATE/config.yml- Disables blank issues, provides contact links for Discussions and Security.github/ISSUE_TEMPLATE/documentation.yml- New template for documentation issues.github/ISSUE_TEMPLATE/bug_report.yml- Bug report withpdftract doctoras required field.github/ISSUE_TEMPLATE/feature_request.yml- Feature request with use case and proposed solution.github/ISSUE_TEMPLATE/performance_regression.yml- Performance regression with baseline/comparison fields.github/ISSUE_TEMPLATE/security.yml- Security advisory redirect to SECURITY.md
Modified
.github/PULL_REQUEST_TEMPLATE.md- Updated to include local validation checkbox
Deleted
.github/ISSUE_TEMPLATE/bug_report.md- Replaced with .yml Issue Form.github/ISSUE_TEMPLATE/feature_request.md- Replaced with .yml Issue Form.github/ISSUE_TEMPLATE/performance_regression.md- Replaced with .yml Issue Form.github/ISSUE_TEMPLATE/security.md- Replaced with .yml Issue Form
Acceptance Criteria
- All five issue templates and the PR template land at the documented paths
config.ymldisables blank issues (blank_issues_enabled: false)config.ymllists contact links (Discussions, Security advisories)- Bug template forces
pdftract doctoroutput (required: trueenforcement) - Security template redirects to SECURITY.md (contact link in config.yml + template reference)
- PR template includes linked-issue + scope-statement + test-plan + checklist sections
- PR template includes local validation checkbox per CONTRIBUTING.md
- All templates use YAML Issue Forms syntax with
required: trueenforcement - All templates include Code of Conduct checkbox
Notes
- Security vulnerabilities are primarily routed via
config.ymlcontact link to prevent public filing - The security.yml template exists as a reference for anyone who navigates to it directly
- Bug report template enforces
pdftract doctoroutput as required field (UI blocks submission if missing) - All templates auto-apply appropriate labels via
labels:field - Documentation template was missing and has been added
Verification
Templates are valid YAML and follow GitHub Issue Forms specification. The GitHub UI will render these as interactive forms when users create new issues.
Compilation Note
Pre-existing compilation errors in the codebase (examples/test_lzw_api.rs, tests/ocr_integration.rs, etc.) are unrelated to these template changes. Templates are static YAML files and do not affect compilation.