willynilly/same-version

Checks whether your GitHub tag/release version matches the version declared in CITATION.cff, pyproject.toml, codemeta.json, .zenodo.json, package.json, and setup.py. Canonical tag version is parsed using PEP 440, but package.json uses SemVer comparison.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
fail_for_missing_fileFail for any checked file that is missingnofalse
check_github_eventcheck-github-eventnofalse
github_event_nameGitHub event name (push, release, or pull_request event)no
github_event_refGitHub ref (for push event)no
github_event_release_tagGitHub release tag name (for release event)no
check_citation_cffCheck `CITATION.cff`? (`true/false`)notrue
citation_cff_pathPath to CITATION.cffnoCITATION.cff
check_pyproject_tomlCheck pyproject.toml? (true/false)notrue
pyproject_toml_pathPath to pyproject.tomlnopyproject.toml
check_codemeta_jsonCheck codemeta.json? (true/false)notrue
codemeta_json_pathPath to codemeta.jsonnocodemeta.json
check_zenodo_jsonCheck .zenodo.json? (true/false)notrue
zenodo_json_pathPath to .zenodo.jsonno.zenodo.json
check_package_jsonCheck package.json? (true/false)notrue
package_json_pathPath to package.jsonnopackage.json
check_setup_pyCheck setup.py? (true/false)notrue
setup_py_pathPath to setup.pynosetup.py
check_r_descriptionCheck R DESCRIPTION file? (true/false)notrue
r_description_pathPath to R DESCRIPTION filenoDESCRIPTION
check_composer_jsonCheck composer.json? (true/false)notrue
composer_json_pathPath to composer.jsonnocomposer.json
check_pom_xmlCheck pom.xml? (true/false)notrue
pom_xml_pathPath to pom.xmlnopom.xml
check_cargo_tomlCheck cargo.toml? (true/false)notrue
cargo_toml_pathPath to Cargo.tomlnoCargo.toml
check_setup_cfgCheck setup.cfg? (true/false)notrue
setup_cfg_pathPath to setup.cfgnosetup.cfg
check_py_version_assignmentCheck Python file with __version__ assignment? (true/false)nofalse
py_version_assignment_pathPath to Python file with __version__ assignmentno
check_nuspecCheck .nuspec? (true/false)notrue
nuspec_pathPath to .nuspecno.nuspec
check_ro_crate_metadata_jsonCheck ro-crate-metadata.json? (true/false)nofalse
ro_crate_metadata_json_pathPath to ro-crate-metadata.jsonnoro-crate-metadata.json
ro_crate_metadata_json_id@id of the resource in ro-crate-metadata.jsonno

no outputs