From 63f6776e83f5c13f1718f154ba58e81f3ad7c319 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 3 Dec 2021 09:00:32 +0100 Subject: [PATCH] set default ref --- .github/workflows/qc_checks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/qc_checks.yaml b/.github/workflows/qc_checks.yaml index 86834348be..ebf375629a 100644 --- a/.github/workflows/qc_checks.yaml +++ b/.github/workflows/qc_checks.yaml @@ -35,7 +35,7 @@ jobs: uses: actions/checkout@v2 - name: Check version number run: | - python3 ci/check_version_number.py --branch ${{ github.base_ref }} + python3 ci/check_version_number.py --branch ${{ github.base_ref || github.ref }} pep_style: name: PEP style (python)