From d69032a68d898ac2314dabdd3ca2ec0fbd7f69a3 Mon Sep 17 00:00:00 2001 From: Ellie Bahadori Date: Wed, 2 Sep 2020 10:15:19 -0700 Subject: [PATCH] Prevent PR builds from running on forks --- .github/workflows/pr-build-workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-build-workflow.yml b/.github/workflows/pr-build-workflow.yml index 6a1f05ea33..4c2fc44d1a 100644 --- a/.github/workflows/pr-build-workflow.yml +++ b/.github/workflows/pr-build-workflow.yml @@ -6,7 +6,7 @@ jobs: build: name: Build runs-on: ubuntu-latest - + if: github.repository == 'spring-projects/spring-security' steps: - uses: actions/checkout@v2 - name: Set up JDK