diff --git a/.github/workflows/qc_checks.yaml b/.github/workflows/qc_checks.yaml index 86834348be..a9bb80f4ab 100644 --- a/.github/workflows/qc_checks.yaml +++ b/.github/workflows/qc_checks.yaml @@ -29,6 +29,7 @@ jobs: check_version: name: version number runs-on: ubuntu-latest + if: ${{ github.event_name == 'pull_request' }} steps: - name: Checkout Code @@ -41,6 +42,7 @@ jobs: name: PEP style (python) needs: check_version runs-on: ubuntu-latest + if: always() steps: - name: Checkout code