Skip to content

ci: align commit checks with repository configuration - #32

Merged
neilime merged 1 commit into
mainfrom
ci/common-commit-policy
Nov 9, 2026
Merged

neilime merged 1 commit into
mainfrom
ci/common-commit-policy

Conversation

@neilime

@neilime neilime commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Use the root .commitlintrc.json for local commit hooks, commit validation and PR-title validation. Casing and header/body/footer line lengths produce warnings; invalid conventional types, missing subjects and the other preset rules remain blocking. The same rules apply to contributors and bots.

Align the shared linter and title workflow references. Grant the title job only contents: read for configuration checkout. Configure dependency updates with the conventional build prefix and dependency scope.

The title workflow preserves the trusted base checkout for pull_request_target; root config changes in this PR take effect there after merging. Commit CI validates the PR configuration.

Add commit-message validation through a commitlint-only shared linter call.

Validation: changed workflows pass actionlint; config and permission checks pass. This root configuration accepts 22 sampled Dependabot commits and their titles. The released image CLI reports formatting warnings successfully and rejects invalid types and missing subjects. The shared title action has 24 passing focused tests.

Uses released ci-github-common 2.0.2, pinned to 90211d735aa0289702ddbd7eb95b218020ccadad. This release includes the bot-reporting fix plus nested PHPUnit suite parsing and root Cobertura discovery. Commit-validation rules and caller inputs are unchanged. Both updated workflow pins pass actionlint and formatting checks. The unchanged validator retains the previously completed 24-test and repository-config validation.

CI is rerunning for the 2.0.2 pins.

One signed commit. No merge or release is included.

@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Hi, thank you for creating your PR, we will check it out very soon

@github-actions

github-actions Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Super-linter summary

Language Validation result
GIT_COMMITLINT Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter
Super-linter revision: 2da136927bd4a73596db63044b504547c62cb854
Super-linter version: 9.0.0

@neilime
neilime force-pushed the ci/common-commit-policy branch 5 times, most recently from 8bb0c7e to f405a21 Compare November 7, 2026 18:01
@neilime neilime changed the title ci: use the shared conventional commit policy ci: align commit checks with repository configuration Nov 7, 2026
@neilime
neilime force-pushed the ci/common-commit-policy branch 2 times, most recently from c8cd40b to 4a7d976 Compare November 7, 2026 22:33
@neilime
neilime force-pushed the ci/common-commit-policy branch from 4a7d976 to 92ed396 Compare November 8, 2026 10:37
@neilime
neilime marked this pull request as ready for review November 9, 2026 10:39
@neilime
neilime merged commit 8d8c11a into main Nov 9, 2026
15 of 16 checks passed
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