Skip to content

HenrikJoreteg/version-compare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action to make sure

Fails if version in current branch is not valid or if not different than base branch.

Add it as a step to a job in a GitHub Action as follows:

jobs:
  basic-checks:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: henrikjoreteg/version-compare@main
        with:
          # token only required if private repo
          token: ${{ secrets.GITHUB_TOKEN }}
          # base-branch-name only required if not "main"
          base-branch-name: 'main'

About

Learning how to build custom GH actions...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published