ci: add issue forms, labels-as-code and repo workflow - #577
Conversation
📝 WalkthroughWalkthroughThe PR replaces Markdown issue templates with structured YAML forms, adds repository labels and pull request guidance, enables blank issues, and moves commit validation and label synchronization into a reusable GitHub Actions workflow. ChangesRepository governance
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/ISSUE_TEMPLATE/crash_report.yml:
- Around line 84-98: Update .github/ISSUE_TEMPLATE/crash_report.yml lines 84-98
so the stack_trace and logs descriptions instruct reporters to redact
credentials, tokens, private paths, and personal data while retaining frame
names and offsets; remove the “as-is” requirement. Update
.github/ISSUE_TEMPLATE/bug_report.yml lines 117-129 with the same redaction
guidance before the logs and config fields.
In @.github/workflows/repo.yml:
- Line 18: Update the commit-header regex in the workflow validation to allow an
optional `!` after the optional scope and before the colon, while preserving
existing type, scope, colon, and description requirements.
- Around line 8-10: Update the conventional-commit job in repo.yml to declare
empty permissions, removing its inherited issues: write access. Keep issues:
write scoped only to the sync-labels job.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 0edb1bac-306a-447f-9bc8-940b4f8c017b
📒 Files selected for processing (10)
.github/ISSUE_TEMPLATE/bug_report.md.github/ISSUE_TEMPLATE/bug_report.yml.github/ISSUE_TEMPLATE/config.yml.github/ISSUE_TEMPLATE/crash_report.yml.github/ISSUE_TEMPLATE/feature_request.md.github/ISSUE_TEMPLATE/feature_request.yml.github/labels.yml.github/pull_request_template.md.github/workflows/main.yml.github/workflows/repo.yml
💤 Files with no reviewable changes (2)
- .github/ISSUE_TEMPLATE/feature_request.md
- .github/ISSUE_TEMPLATE/bug_report.md
What changed
.github/labels.ymlas the single source of truth for repository labels, synced automatically when it changes on main..github/workflows/repo.ymlas a reusable workflow called frommain.yml, grouping repo-management jobs: the conventional-commit title check (moved out ofmain.yml) and the label sync. Future issue automation goes here too.Tests
CI/config only — no code changes. Both workflow files parse; the
checks-passedaggregation was updated to gate on the newrepojob.