diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index ee91785d3..3cf778c44 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -11,6 +11,7 @@ jobs: build: name: Build runs-on: ubuntu-latest + if: github.repository == 'spring-projects/spring-session' strategy: matrix: jdk: [8, 11] @@ -32,6 +33,7 @@ jobs: name: Deploy Artifacts needs: [build] runs-on: ubuntu-latest + if: github.repository == 'spring-projects/spring-session' steps: - uses: actions/checkout@v2 - name: Set up JDK @@ -61,6 +63,7 @@ jobs: name: Deploy Docs needs: [build] runs-on: ubuntu-latest + if: github.repository == 'spring-projects/spring-session' steps: - uses: actions/checkout@v2 - name: Set up JDK diff --git a/.github/workflows/pr-build-workflow.yml b/.github/workflows/pr-build-workflow.yml index 8f84bb88a..4bf8d1b82 100644 --- a/.github/workflows/pr-build-workflow.yml +++ b/.github/workflows/pr-build-workflow.yml @@ -6,6 +6,7 @@ jobs: build: name: Build runs-on: ubuntu-latest + if: github.repository == 'spring-projects/spring-session' strategy: matrix: jdk: [8, 11]