anselmoo/repo-release-tools policy checks

Validate branch names, commit subjects, and changelog updates with repo-release-tools

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 10, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: anselmoo/repo-release-tools@97b9ec7cb866903831cc9739167f531887bcdddc # v1.11.2

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

namedescriptionrequireddefault
python-versionPython version used to run repo-release-tools3.12
working-directoryRepository path to install and run repo-release-tools from.
check-branch-nameWhether to validate the current branch nametrue
branch-ref-typeExplicit ref type override for branch validation; defaults to the workflow ref typeno
branch-nameExplicit branch name to validate; defaults to the workflow branchno
check-commit-subjectWhether to validate the commit subjecttrue
commit-subjectExplicit commit subject to validate; defaults to the latest commit subjectno
check-changelogWhether to validate changelog updates for changelog-relevant commitstrue
changelog-fileExplicit changelog path to validateCHANGELOG.md
changelog-strategyChangelog enforcement strategy: auto – (default) derive from changelog_workflow in repo config. incremental – alias for per-commit enforcement. per-commit – the changelog file must appear in the commit's changed-file list. unreleased – a non-empty [Unreleased] section must exist in the changelog. release-only – the check is skipped (changelog is updated only at release time). auto
check-dirty-treeWhether to fail when the checked-out work tree is dirtyfalse
check-doctorWhether to run rrt doctor core automation checks. For historical release-target validation coverage, this also runs rrt release check unless explicitly disabled.false
check-release-healthWhether to run rrt release check for version targets, pin targets, and changelog filesfalse
check-eolWhether to check host runtimes and project minimums against end-of-life datesfalse
check-docsWhether to fail if source-owned docs have drifted from the lockfile. Detects source files added, modified, or deleted without regenerating .rrt/docs.lock.toml.false
check-folderWhether to validate the repository folder structure against [tool.rrt.folders] configuration. Fails on missing required files or directories.false
check-artifactsWhether to verify that generated artifact hashes match the committed .rrt/artifacts.lock.toml fingerprints.false
verboseVerbosity level for rrt-hooks output (0=quiet, 1=-v summary, 2=-vv details, 3=-vvv debug). Default: 0.no0
namedescription
detected-versionThe current project version detected from the rrt configuration
changelog-statusChangelog status — one of 'clean', 'dirty', or 'missing'
health-summaryJSON object summarising the policy check results