diff --git a/.github/workflows/qc_checks.yaml b/.github/workflows/qc_checks.yaml index e772447025..fee237fb57 100644 --- a/.github/workflows/qc_checks.yaml +++ b/.github/workflows/qc_checks.yaml @@ -44,9 +44,7 @@ jobs: pep_style: name: PEP style (python) - needs: check_version runs-on: ubuntu-latest - if: always() steps: - name: Checkout code diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml new file mode 100644 index 0000000000..73d5bd8a2c --- /dev/null +++ b/.github/workflows/version.yml @@ -0,0 +1,21 @@ +# Checks version number +name: version number + +on: + pull_request: + branches-ignore: + - l10* + + +jobs: + + check_version: + name: version number + runs-on: ubuntu-latest + + steps: + - name: Checkout Code + uses: actions/checkout@v2 + - name: Check version number + run: | + python3 ci/check_version_number.py --branch ${{ github.base_ref }}