Skip workflows on forks of spring-security

This commit is contained in:
Steve Riesenberg 2022-07-28 14:17:42 -05:00
parent 47a5665767
commit 24033be046
No known key found for this signature in database
GPG Key ID: 5F311AB48A55D521
6 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,7 @@ jobs:
update:
name: Update Algolia Index
runs-on: ubuntu-latest
if: ${{ github.repository == 'spring-projects/spring-security' }}
steps:
- name: Checkout Source
uses: actions/checkout@v2

View File

@ -16,6 +16,7 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.repository == 'spring-projects/spring-security' }}
steps:
- name: Checkout Source
uses: actions/checkout@v2

View File

@ -13,6 +13,7 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.repository == 'spring-projects/spring-security' }}
permissions:
contents: read
issues: write

View File

@ -9,6 +9,7 @@ permissions:
jobs:
main:
runs-on: ubuntu-latest
if: ${{ github.repository == 'spring-projects/spring-security' }}
permissions:
contents: none
steps:

View File

@ -14,6 +14,7 @@ jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
if: ${{ github.repository == 'spring-projects/spring-security' }}
steps:
- uses: actions/checkout@v2
- name: Set up gradle

View File

@ -11,6 +11,7 @@ jobs:
spring-releasetrain-checks:
name: Check DueOn is on a Release Date
runs-on: ubuntu-latest
if: ${{ github.repository == 'spring-projects/spring-security' }}
permissions:
contents: none
steps: