Skip to content

ci: add issue forms, labels-as-code and repo workflow - #577

Merged
16bit-ykiko merged 1 commit into
mainfrom
ci/issue-forms-labels
Aug 4, 2026
Merged

16bit-ykiko merged 1 commit into
mainfrom
ci/issue-forms-labels

Conversation

@16bit-ykiko

Copy link
Copy Markdown
Member

What changed

  • Replace the boilerplate markdown issue templates with GitHub Issue Forms:
    • Bug Report — version, OS / editor / build system dropdowns (options match label names), reproduction steps, optional logs and config.
    • Crash Report — version and stack trace as separate required fields so crash reports can be symbolized automatically later.
    • Feature Request — related-area dropdown (multi-select) plus description and optional motivation.
    • Blank issues stay enabled for questions and discussions.
  • Add a minimal pull request template (related issue / what changed / tests).
  • Add .github/labels.yml as the single source of truth for repository labels, synced automatically when it changes on main.
  • Add .github/workflows/repo.yml as a reusable workflow called from main.yml, grouping repo-management jobs: the conventional-commit title check (moved out of main.yml) and the label sync. Future issue automation goes here too.

Tests

CI/config only — no code changes. Both workflow files parse; the checks-passed aggregation was updated to gate on the new repo job.

@coderabbitai

coderabbitai Bot commented Aug 4, 2026 •

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The 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.

Changes

Repository governance

Layer / File(s) Summary
Label taxonomy
.github/labels.yml
Adds categorized labels for issue kinds, features, platforms, editors, toolchains, statuses, and repository concerns.
Issue intake forms
.github/ISSUE_TEMPLATE/bug_report.yml, .github/ISSUE_TEMPLATE/crash_report.yml, .github/ISSUE_TEMPLATE/feature_request.yml, .github/ISSUE_TEMPLATE/config.yml, .github/ISSUE_TEMPLATE/bug_report.md, .github/ISSUE_TEMPLATE/feature_request.md
Adds structured bug, crash, and feature request forms. Enables blank issues. Removes the previous Markdown templates.
Contribution guidance
.github/pull_request_template.md
Adds prompts for related issues, change details, and tests.
Repository automation
.github/workflows/main.yml, .github/workflows/repo.yml
Adds reusable conventional-commit validation and conditional label synchronization. Updates workflow dependencies and permissions.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main CI and repository configuration changes.
Description check ✅ Passed The description accurately explains the issue forms, labels configuration, reusable workflow, and related CI changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/issue-forms-labels

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

📥 Commits

Reviewing files that changed from the base of the PR and between 6c90090 and 5bec52d.

📒 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

Comment thread .github/ISSUE_TEMPLATE/crash_report.yml
Comment thread .github/workflows/repo.yml
Comment thread .github/workflows/repo.yml
@16bit-ykiko
16bit-ykiko merged commit f39580b into main Aug 4, 2026
15 checks passed
@16bit-ykiko
16bit-ykiko deleted the ci/issue-forms-labels branch August 4, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant