From 6bc3e3ccbbba60371784cb1975e3cdc6bb526ffd Mon Sep 17 00:00:00 2001 From: Matthias Mair <66015116+matmair@users.noreply.github.com> Date: Sat, 4 Dec 2021 01:01:18 +0100 Subject: [PATCH] Workflow remaster (#2416) * Workflow remaster (#28) * set default ref * only trigger version number if pullrequest * try skipping just a step * Workflow remaster (#29) * set default ref * only trigger version number if pullrequest * always run style * try skipping just a step * try adding a step so everything continues * Workflow remaster (#30) * set default ref * only trigger version number if pullrequest * always run style * try skipping just a step * try adding a step so everything continues * maybe this does not fail them * skip ahead * do not skip the whole job, just the steps --- .github/workflows/qc_checks.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/qc_checks.yaml b/.github/workflows/qc_checks.yaml index a9bb80f4ab..e772447025 100644 --- a/.github/workflows/qc_checks.yaml +++ b/.github/workflows/qc_checks.yaml @@ -35,8 +35,12 @@ jobs: - 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)