paulupdev / actions-version-compare

Custom actions for CI/CD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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@v2
      - uses: /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

Custom actions for CI/CD


Languages

Language:JavaScript 100.0%