A test repository for validating gommitlint-action functionality.
Each branch tests a different scenario:
| Branch | Purpose | Expected Result |
|---|---|---|
test-valid-conventional |
Valid conventional commits | Pass |
test-bad-conventional |
Invalid format ("added some stuff") | Fail |
test-long-subject |
Subject line > 100 chars | Fail |
test-with-config |
Custom .gommitlint.yaml config |
Pass |
test-fixup-commit |
Contains fixup! commit |
Fail (by default) |
test-scope |
Scoped commits feat(api): |
Pass |
test-base-branch |
Tests base-branch parameter |
Pass |
The CI tests all gommitlint-action inputs:
range- Commit range syntaxbase-branch- Base branch comparisoncount- Last N commitsconfig- Custom config filerules- Run specific rules onlyexclude-rules- Skip specific rulesformat- Output formatverbose- Verbose outputlog-level- Log levelskip-verification- Skip binary checksum
Run tests manually via workflow dispatch in the GitHub UI. Select a branch and action version to test.
go run .