diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 9f3d12d1e..a4812e7fb 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -2,14 +2,18 @@ name: CI (PR) on: pull_request: - branches: [ "main" ] + branches: + - "main" + - "gh-pages" jobs: dci-lint: uses: ./.github/workflows/dci.yml unit-tests: + if: ${{ github.base_ref == 'main' }} uses: ./.github/workflows/unit-tests.yml needs: dci-lint integration-tests: + if: ${{ github.base_ref == 'main' }} uses: ./.github/workflows/integration-tests.yml needs: unit-tests