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:
name: Quarkus
runs-on: ubuntu-latest
if: ${{ github.repository == 'keycloak/keycloak' }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
@ -39,6 +40,7 @@ jobs:
operator:
name: Operator
runs-on: ubuntu-latest
if: ${{ github.repository == 'keycloak/keycloak' }}
steps:
- name: Checkout repository
uses: actions/checkout@v3