octue/Check semantic version

Check the version of your package is the same as the semantic version calculated from the Conventional Commits on the branch.

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 6, 2026
Maintenance Recency
Maintainedlast commit Feb 25, 2025
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: octue/check-semantic-version@93fabe3cf3c95fa2fa6fc0a6ea36ded0ddd76672 # 1.0.6

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

namedescriptionrequireddefault
pathThe path of the file containing the current version number (must be one of "setup.py", "pyproject.toml", or "package.json").yes
breaking_change_indicated_byThe number in the semantic version that a breaking change should increment (must be one of "major", "minor", or "patch"). This is ignored if a `mkver.conf` file is present in the repository root.nomajor

no outputs