Repository navigation
feat: bundle shared commitlint preset in title action - #687
Conversation
|
Internal - Pull request - Continuous Integration - Test results Workflow run and full reports · Commit 22493ff Jobs: 8 success · 0 failure · 0 cancelled · 0 skipped · 0 abandoned. Test: 322 passed · 0 failed · 0 skipped. Test detailsTest resultsTest Results
Job results and report availability
Only this attempt is included. On partial reruns, rerun all producer jobs for complete reports. CodeQL findings remain in code scanning; other diagnostics remain in the job logs. |
|
Internal - Pull request - Continuous Integration - Code coverage Workflow run and full reports · Commit 22493ff Jobs: 8 success · 0 failure · 0 cancelled · 0 skipped · 0 abandoned. Coverage: 7 source report(s); percentages remain separate. Coverage detailsCoverage resultsci-reports-1-test-action-create-and-merge-pull-request-actions-create-and-merge-pull-request-da1611f5-17db-4689-8ca9-f69eec7fba3c/lcov.infoCoverage
Overall: 100.00% 🟢 ci-reports-1-test-action-distributions-actions-action-distributions-1c1671cc-4948-46b2-b6e3-36d81bb03b64/lcov.infoCoverage
Overall: 97.93% 🟢 ci-reports-1-test-action-download-artifact-actions-download-artifact-6655f921-386a-4bb6-b61c-ee8a88d2c066/lcov.infoCoverage
Overall: 100.00% 🟢 ci-reports-1-test-action-lint-pull-request-title-actions-quality-lint-pull-request-title-17795496-52fc-4027-a220-9856e229e6cb/lcov.infoCoverage
Overall: 100.00% 🟢 ci-reports-1-test-action-need-fix-to-issue-actions-need-fix-to-issue-38774ff6-c9c3-4a74-ac1a-419e4a658725/lcov.infoCoverage
Overall: 100.00% 🟢 ci-reports-1-test-action-parse-ci-reports-actions-quality-parse-ci-reports-082f4c5a-1894-4eb5-b70a-d3156d71de34/lcov.infoCoverage
Overall: 95.39% 🟢 ci-reports-1-test-action-test-action-distribution-actions-quality-test-action-distribution-2df074c2-8e5b-4c41-b57e-70ddf7ee0359/lcov.infoCoverage
Overall: 100.00% 🟢 Job results and report availability
Only this attempt is included. On partial reruns, rerun all producer jobs for complete reports. CodeQL findings remain in code scanning; other diagnostics remain in the job logs. |
|
Internal - Pull request - Continuous Integration - Lint results Workflow run and full reports · Commit 22493ff Jobs: 8 success · 0 failure · 0 cancelled · 0 skipped · 0 abandoned. Lint: Collected diagnostics and Super-Linter summaries. Execution status is included in the job outcomes. Super-Linter detailsSuper-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter Super-Linter details
Job results and report availability
Only this attempt is included. On partial reruns, rerun all producer jobs for complete reports. CodeQL findings remain in code scanning; other diagnostics remain in the job logs. |
Repositories currently duplicate their commitlint policy, and blocking casing or length rules reject valid generated dependency updates. Add `@hoverkraft/commitlint-config` as one independently versioned public package. The preset extends the conventional configuration. Subject casing and header, body and footer lengths produce warnings for all authors. Existing conventional errors and explicit repository overrides stay blocking. Dependabot uses explicit `build` prefixes and dependency scopes; there are no bot exemptions or message rewrites. Package delivery follows [docusaurus-theme](https://github.com/hoverkraft-tech/docusaurus-theme): shared workflows prepare the version and tag, run CI against that source, validate an isolated consumer, and publish the exact validated tarball through npm OIDC with provenance. This single JSON package needs no build or workspace. Usage, contributor, release and decision guides are included. The development environment follows Hoverkraft conventions: Debian, Zsh, Node.js 24, Docker-in-Docker, GitHub CLI with `gh act`, a generated feature lockfile, and automatic locked dependency installation. Dependabot maintains the devcontainer features. The supplied artwork is included as a README logo and a self-contained social preview SVG, with a matching 1280 by 640 PNG for GitHub upload. Workflow consumption is handled separately by hoverkraft-tech/ci-github-common#687. Validation: - Built and started the devcontainer with the frozen feature lockfile; verified the non-root user, Node.js 24, GitHub CLI, `gh act`, Docker and all 12 policy tests (43.2 seconds including setup). The temporary container and volumes were removed. - SVGs rendered and inspected; the 30,934-byte PNG matches the final SVG exactly and meets GitHub dimensions. Full repository lint and documentation link checks passed. - 12 policy tests passed, including warnings alongside blocking errors and stricter repository overrides (about 0.44 seconds). - Packed tarball installed in an isolated commitlint consumer; consumer validation and npm publication dry run passed (3 seconds). This exercises package exports and dependency resolution without repeating the policy matrix. - Full repository Super-Linter checks passed; documentation links and whitespace checked. Before the first release, an npm package maintainer must establish package ownership and configure the trusted publisher for `hoverkraft-tech/commitlint-config`, workflow `release.yml`. The organization release App, variable and secrets already cover all repositories. This PR does not publish an npm version.
CI reportWorkflow run and full summary · Commit LintPassed checks: 1 Successful lint checks (1)
Tests246 passed · 0 failed · 0 skipped Successful test checks (9)
Totals count test executions, including runtime variants. Test coverage94.6% lines · 90.1% branches 2739 / 2893 lines covered; 704 / 781 branches covered. Source: merged producer reports, calculated by ReportGenerator. Coverage by project and context
Project measurements are shown separately. The total above merges covered source lines; it does not average percentages. Workflow jobs
The required CI complete check determines whether this workflow passed. Jobs without structured reports remain available in the workflow run. |
c225a1f to
39016e2
Compare
The title action should provide the shared commit policy without requiring every consumer to create a root npm project or install its application dependencies.
Bundle
@hoverkraft/commitlint-config@0.0.2in the action's existing dependency lockfile and use it as the default. Repository configs can extend it by name through the action's existing module-resolution setup. Repository overrides remain authoritative; malformed configs and missing presets still fail.This revision removes the duplicated dependency detection and installation from both reusable workflows, the new root manifest and lockfile, the Makefile bootstrap, and the extra Dependabot entry. The linter workflow is unchanged. Nx consumers keep
@commitlint/config-nx-scopesand install their workspace dependencies before calling the standalone title action.The companion linter-image change, hoverkraft-tech/docker-base-images#306, bundles the same preset at build time. Until that image is released, this repository keeps its existing commitlint rules and image pin. Consumer rollout requires that release; this PR does not introduce an unreleased image reference or migrate CI reporting.
Validation:
git diff --checkpass for the changed files.Merge remains with the repository owner.