Explorar el Código

Prevent PR builds from running on forks

Ellie Bahadori hace 5 años
padre
commit
d69032a68d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      .github/workflows/pr-build-workflow.yml

+ 1 - 1
.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