Skip to content

chore: enforce issue, PR, and branch conventions - #3

Merged
kzekiue merged 1 commit into
mainfrom
chore/repo-conventions
Jun 21, 2026
Merged

chore: enforce issue, PR, and branch conventions#3
kzekiue merged 1 commit into
mainfrom
chore/repo-conventions

Conversation

@kzekiue

@kzekiue kzekiue commented Jun 21, 2026

Copy link
Copy Markdown
Owner

Tightens repo hygiene so issues, PRs, and branches stay consistent and enforceable.

Issues (now enforced, not just suggested)

  • bug_report.yml / feature_request.yml: YAML forms with required fields, so reports cannot be submitted empty.
  • config.yml: blank_issues_enabled: false (forces a template) plus contact links to the docs and private security reporting.
  • Removed the old freeform .md templates they replace.

Pull requests and branches (CI-enforced)

  • pr-conventions.yml: fails any PR whose branch is not <type>/<short-desc> or whose title is not Conventional Commits. Plain shell, no external actions; skips dependabot/ and revert- branches.
  • Allowed types: feat, fix, docs, ci, chore, refactor, test, perf, build, style, revert.
  • PR template reminds contributors of the rule and links issues via Closes #.

Docs

  • CONTRIBUTING gains a "Branches, Commits, and PR Titles" section (also restates: no AI co-author trailers in commits).

The regex was tested locally against valid and invalid samples. Note: the check starts enforcing on PRs opened after this merges (this PR predates it on main).

Recommend turning on branch protection for main and marking PR conventions (and CI) as required status checks so the rules cannot be bypassed.

Convert issue templates to YAML forms with required fields and disable
blank issues, so reports carry the needed context. Add a PR-conventions
check that fails any pull request whose branch name or title does not
follow <type>/<desc> and Conventional Commits. Document the convention in
CONTRIBUTING and remind contributors in the PR template.
@vercel

vercel Bot commented Jun 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tinyreplay-docs Ready Ready Preview, Comment Jun 21, 2026 7:50am

@kzekiue
kzekiue merged commit 48e326a into main Jun 21, 2026
5 checks passed
@kzekiue
kzekiue deleted the chore/repo-conventions branch June 21, 2026 07:51
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