Filter CodeQL actions to only run on main repo

This commit is contained in:
andreaTP 2022-05-19 12:13:48 +01:00 committed by Pedro Igor
parent 86f31e8df5
commit 756b6c2f87
3 changed files with 3 additions and 0 deletions

View file

@ -16,6 +16,7 @@ on:
- cron: '0 9 * * 2'
jobs:
if: github.repository == 'keycloak/keycloak'
analyze:
name: CodeQL analyze
runs-on: ubuntu-latest

View file

@ -16,6 +16,7 @@ on:
- cron: '0 9 * * 2'
jobs:
if: github.repository == 'keycloak/keycloak'
analyze:
name: CodeQL analyze
runs-on: ubuntu-latest

View file

@ -16,6 +16,7 @@ on:
- cron: '0 9 * * 2'
jobs:
if: github.repository == 'keycloak/keycloak'
analyze:
name: CodeQL analyze
runs-on: ubuntu-latest