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)