Filter CodeQL actions to only run on main repo
This commit is contained in:
parent
86f31e8df5
commit
756b6c2f87
3 changed files with 3 additions and 0 deletions
1
.github/workflows/codeql-java-analysis.yml
vendored
1
.github/workflows/codeql-java-analysis.yml
vendored
|
@ -16,6 +16,7 @@ on:
|
||||||
- cron: '0 9 * * 2'
|
- cron: '0 9 * * 2'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
if: github.repository == 'keycloak/keycloak'
|
||||||
analyze:
|
analyze:
|
||||||
name: CodeQL analyze
|
name: CodeQL analyze
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
@ -16,6 +16,7 @@ on:
|
||||||
- cron: '0 9 * * 2'
|
- cron: '0 9 * * 2'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
if: github.repository == 'keycloak/keycloak'
|
||||||
analyze:
|
analyze:
|
||||||
name: CodeQL analyze
|
name: CodeQL analyze
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
1
.github/workflows/codeql-theme-analysis.yml
vendored
1
.github/workflows/codeql-theme-analysis.yml
vendored
|
@ -16,6 +16,7 @@ on:
|
||||||
- cron: '0 9 * * 2'
|
- cron: '0 9 * * 2'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
if: github.repository == 'keycloak/keycloak'
|
||||||
analyze:
|
analyze:
|
||||||
name: CodeQL analyze
|
name: CodeQL analyze
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue