Skip to content

Validate that the current release matches the regular expression of a semantic versioning tag.

License

Notifications You must be signed in to change notification settings

gbh-tech/check-semantic-release-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Check Semantic Release

Content

Overview

This GitHub Action facilitates setting checking if tag follow our convention.

⚠️ This action is tailored for our specific needs and development workflow, at this moment, you cannot change the triggering events or the environment tag. Only use if you can adapt it on your workflow!

Environment pattern

The environment tag should follow one of these patterns to match our convention:

  • v[0-9].[0-9].[0-9]
  • v[0-9].[0-9].[0-9]-uat.[0-9]

The Action uses github.ref_name to determine the tag name.

Usage

See action.yml for more info about the action.

- uses: gbh-tech/check-semantic-release@v0.1.2

Examples

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: gbh-tech/check-semantic-release@v0.1.2