nsrosenqvist/affix-lint

Validate commit messages or a PR title against the Conventional Commits spec.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 21, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: nsrosenqvist/affix-lint@358193665c6394244dd3ba9a51ad9100e0b3fd62 # v1.1.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
modeOne 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""
messageLiteral commit message / PR title to lint (used by mode=message and mode=pr-title fallback).no""
fromBase ref for range mode. Defaults to the PR base SHA.no""
toHead ref for range mode. Defaults to the PR head SHA.no""
config-pathOptional path to a .affix-lint.cfg file (copied into the workspace root before linting).no""
refSpecific git ref/version of affix-lint to download. Defaults to the same ref the action is invoked at (or "main" when invoked locally).no""

no outputs