nsrosenqvist/affix-lint
Validate commit messages or a PR title against the Conventional Commits spec.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit May 21, 2026
- License
- MIT
Pinned Snippet
uses: nsrosenqvist/affix-lint@358193665c6394244dd3ba9a51ad9100e0b3fd62 # v1.1.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| mode | One of: 'range' (lint every commit in a PR), 'pr-title' (lint the PR title only), or 'message' (lint the literal string in `message`). Defaults to 'range' on pull_request events, 'pr-title' otherwise when a PR title is available, else 'message'. | no | "" |
| message | Literal commit message / PR title to lint (used by mode=message and mode=pr-title fallback). | no | "" |
| from | Base ref for range mode. Defaults to the PR base SHA. | no | "" |
| to | Head ref for range mode. Defaults to the PR head SHA. | no | "" |
| config-path | Optional path to a .affix-lint.cfg file (copied into the workspace root before linting). | no | "" |
| ref | Specific git ref/version of affix-lint to download. Defaults to the same ref the action is invoked at (or "main" when invoked locally). | no | "" |
Outputs
no outputs