From 3da5767e02b1ddf2a068c50e6d34621179984719 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 4 Dec 2021 01:22:10 +0100 Subject: [PATCH] move version checks out into own check --- .github/workflows/qc_checks.yaml | 2 -- .github/workflows/version.yml | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/version.yml 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 }}