You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Matt Andreko 7430b11e96
Cleanup of workflow files for Zizmor changes (#434)
2 months ago
..
README.md Cleanup of workflow files for Zizmor changes (#434) 2 months ago
action.yml Cleanup of workflow files for Zizmor changes (#434) 2 months ago

README.md

Version Check Action

Summary

Given a version and the validation type, will validate that the version is valid.
If the validation fails, the action run will result in an exit code of 1.

Inputs

  • Version - Version number string
  • Validation Type - Whether to use SemVer or CalVer (default) validation

Outputs

None

Example Snippets

Validating SemVer

    steps:
      - name: Validate version - semver
        uses: bitwarden/gh-actions/version-check@main
        with:
          version: 1.0.0
          validation_type: semver

Validating CalVer

    steps:
      - name: Validate version - calver
        uses: bitwarden/gh-actions/version-check@main
        with:
          version: 2025.6.1
          validation_type: calver # This is also the default if not provided