From 94f89375706e7a9d68feef7b3510df8fa78710f1 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen <3353385+shenxianpeng@users.noreply.github.com> Date: Fri, 16 Oct 2026 18:04:06 +0000 Subject: [PATCH 1/2] chore: unify workflow titles and share issue templates org-wide - Run pre-commit -> pre-commit, Mark stale issues and pull requests -> Stale, so titles match the file names as in the other repositories. - PR Labeler: one concurrency group per pull request. Callers use pull_request_target, where github.ref is the base branch, so labelling one pull request cancelled the run for another. - Commit Check runs action v2.18.0 (was v2.17.1). - Bug report and feature request templates move here from the CLI, worded for every project, plus links to Discussions and the docs. - Profile: pre-commit example at v2.19.0 (was v2.13.4); Conventional Branch link points at conventionalbranch.org. - Dependabot: monthly, chore(deps) subjects, as everywhere else. - Drop the root CODEOWNERS; GitHub reads .github/CODEOWNERS first, and the two were identical. LICENSE holder written the same way everywhere. --- .github/ISSUE_TEMPLATE/bug-report.yml | 27 +++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 +++++ .github/ISSUE_TEMPLATE/feature-request.yml | 38 ++++++++++++++++++++++ .github/dependabot.yml | 15 ++++++--- .github/workflows/commit-check.yml | 2 +- .github/workflows/pr-labeler.yml | 2 +- .github/workflows/pre-commit.yml | 2 +- .github/workflows/stale.yml | 2 +- CODEOWNERS | 1 - LICENSE | 2 +- profile/README.md | 4 +-- 11 files changed, 90 insertions(+), 13 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/bug-report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature-request.yml delete mode 100644 CODEOWNERS diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml new file mode 100644 index 0000000..27e4630 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug-report.yml @@ -0,0 +1,27 @@ +name: Bug report +description: Something went wrong +labels: ["bug"] +body: + - type: textarea + id: freeform + attributes: + label: Describe your issue + placeholder: 'I was doing ... I ran ... I expected ... I got ...' + validations: + required: true + - type: input + id: version + attributes: + label: Version + description: The version of the CLI, Action or MCP server you ran. + placeholder: commit-check 2.19.0, commit-check-action v2.18.0, ... + validations: + required: false + - type: textarea + id: configuration + attributes: + label: cchk.toml or commit-check.toml + description: (auto-rendered as toml, no need for backticks) + render: toml + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..f6aa527 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: true +contact_links: + - name: Questions and ideas + url: https://github.com/commit-check/commit-check/discussions + about: Ask a question or share an idea in Discussions. + - name: Documentation + url: https://commit-check.com + about: Every rule and option, with examples. diff --git a/.github/ISSUE_TEMPLATE/feature-request.yml b/.github/ISSUE_TEMPLATE/feature-request.yml new file mode 100644 index 0000000..1696555 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-request.yml @@ -0,0 +1,38 @@ +name: Feature request +description: Suggest an idea for this project +labels: ["enhancement"] + +body: + - type: markdown + attributes: + value: >- + Hi there! + + We'd appreciate it if you could search the existing issues before filing + a feature request. + + - type: textarea + attributes: + label: What's the problem this feature will solve? + description: >- + What are you trying to do, that you are unable to achieve with Commit Check as it currently stands? + validations: + required: true + + - type: textarea + attributes: + label: Describe the solution you'd like + description: >- + A clear and concise description of what you want to happen. Please use examples + of real-world use cases that this would help with, and how it solves the + problem described above. + validations: + required: true + + - type: textarea + attributes: + label: Additional context + description: >- + Add any other context, links, etc. relevant to the feature request. + validations: + required: false diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d9e6ebf..bf9f260 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,13 +1,18 @@ +# Dependabot version updates. # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file +# +# Same shape in every commit-check repository: monthly, one grouped pull +# request per ecosystem, `chore(deps)` commit subjects. + version: 2 updates: - - package-ecosystem: "github-actions" - directory: "/" + - package-ecosystem: github-actions + directory: / schedule: - interval: "weekly" - day: "monday" + interval: monthly commit-message: - prefix: "ci" + prefix: chore + include: scope labels: - "dependencies" groups: diff --git a/.github/workflows/commit-check.yml b/.github/workflows/commit-check.yml index bc3f332..90332a2 100644 --- a/.github/workflows/commit-check.yml +++ b/.github/workflows/commit-check.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 # Required for merge-base checks - - uses: commit-check/commit-check-action@a61779784a953fd9047c001c102cfeac5cf26964 # v2.17.1 + - uses: commit-check/commit-check-action@bcbadb3fec596872bcae51074d8fdbea15c02ba5 # v2.18.0 with: message: true branch: true diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml index edcca74..f38aad7 100644 --- a/.github/workflows/pr-labeler.yml +++ b/.github/workflows/pr-labeler.yml @@ -4,7 +4,7 @@ on: workflow_call: concurrency: - group: pr-labeler-${{ github.ref }} + group: pr-labeler-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 8af65c9..309a2eb 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -1,4 +1,4 @@ -name: Run pre-commit +name: pre-commit on: workflow_call: diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 00f6f25..c477d65 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -1,4 +1,4 @@ -name: Mark stale issues and pull requests +name: Stale on: schedule: diff --git a/CODEOWNERS b/CODEOWNERS deleted file mode 100644 index 4f08a45..0000000 --- a/CODEOWNERS +++ /dev/null @@ -1 +0,0 @@ -* @shenxianpeng diff --git a/LICENSE b/LICENSE index eee726c..47d4b6b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 shenxianpeng +Copyright (c) 2023 Xianpeng Shen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/profile/README.md b/profile/README.md index 2490cb9..9704280 100644 --- a/profile/README.md +++ b/profile/README.md @@ -62,7 +62,7 @@ Conventional Branch, and sane subject lengths. # .pre-commit-config.yaml — feedback while the message is still being written repos: - repo: https://github.com/commit-check/commit-check - rev: v2.13.4 + rev: v2.19.0 hooks: - id: check-message - id: check-branch @@ -113,7 +113,7 @@ reviewed, diffed, and rolled back like anything else you version. [many more](https://github.com/commit-check/commit-check-action/network/dependents) - 📖 MIT licensed, actively maintained, and itself following [Conventional Commits](https://www.conventionalcommits.org/) and - [Conventional Branch](https://conventional-branch.github.io/) + [Conventional Branch](https://conventionalbranch.org/) ## Get involved From cb215017714c70ffe41606af7af9b2e12fef7354 Mon Sep 17 00:00:00 2001 From: Xianpeng Shen <3353385+shenxianpeng@users.noreply.github.com> Date: Fri, 16 Oct 2026 18:07:30 +0000 Subject: [PATCH 2/2] docs: pin the profile's pre-commit example to v2.19.1, the latest release --- profile/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile/README.md b/profile/README.md index 9704280..4cc2a8d 100644 --- a/profile/README.md +++ b/profile/README.md @@ -62,7 +62,7 @@ Conventional Branch, and sane subject lengths. # .pre-commit-config.yaml — feedback while the message is still being written repos: - repo: https://github.com/commit-check/commit-check - rev: v2.19.0 + rev: v2.19.1 hooks: - id: check-message - id: check-branch