Skip to content

A GitHub Action that will check a PR branches version with the bases version and only pass if the PR has bumped to a valid version

Notifications You must be signed in to change notification settings

hyphengroup/action-require-semver-bump

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Action Require Semver Bump

Require Semantic Versioning Bump of head compared to PR base.

Sample usage

name: Check PR
on: [ pull_request, push ]
jobs:
  require-semver-bump:
    runs-on: ubuntu-20.04
    steps:
      - uses: hyphengroup/action-require-semver-bump@v3
        with:
          # must include capture group for actual version value
          version-regex-pattern: 'version: (.+)'
          version-file-path: 'hyphen-service/Chart.yaml'

About

A GitHub Action that will check a PR branches version with the bases version and only pass if the PR has bumped to a valid version

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%