From 3da5767e02b1ddf2a068c50e6d34621179984719 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 4 Dec 2021 01:22:10 +0100 Subject: [PATCH 1/2] 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 }} From d9c6e6c4f43e712557aa4d576058b0278e33bd5f Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 4 Dec 2021 16:45:59 +0100 Subject: [PATCH 2/2] remove version nb checks --- .github/workflows/qc_checks.yaml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.github/workflows/qc_checks.yaml b/.github/workflows/qc_checks.yaml index fee237fb57..929a299e93 100644 --- a/.github/workflows/qc_checks.yaml +++ b/.github/workflows/qc_checks.yaml @@ -25,23 +25,6 @@ env: jobs: - - check_version: - name: version number - runs-on: ubuntu-latest - if: ${{ github.event_name == 'pull_request' }} - - steps: - - name: Checkout Code - uses: actions/checkout@v2 - - name: Check version number - if: ${{ github.event_name == 'pull_request' }} - run: | - python3 ci/check_version_number.py --branch ${{ github.base_ref }} - - name: Finish - if: always() - run: echo 'done' - pep_style: name: PEP style (python) runs-on: ubuntu-latest