Do not run snyk github workflow on forks of the repo

This commit is contained in:
Tero Saarni 2022-07-22 12:00:18 +03:00 committed by Bruno Oliveira da Silva
parent cd9dd83e9c
commit f7383d4308

View file

@ -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