Do not run snyk github workflow on forks of the repo
This commit is contained in:
parent
cd9dd83e9c
commit
f7383d4308
1 changed files with 5 additions and 3 deletions
2
.github/workflows/snyk.yml
vendored
2
.github/workflows/snyk.yml
vendored
|
@ -11,6 +11,7 @@ jobs:
|
||||||
quarkus:
|
quarkus:
|
||||||
name: Quarkus
|
name: Quarkus
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.repository == 'keycloak/keycloak' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
@ -39,6 +40,7 @@ jobs:
|
||||||
operator:
|
operator:
|
||||||
name: Operator
|
name: Operator
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.repository == 'keycloak/keycloak' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
Loading…
Reference in a new issue