[codeql] Do not run GitHub CodeQL Action on forks (#150974)

It turned out that the CodeQL action also runs on forks which generate a
lot of noise in the form of security e-mails to the owners of those
forks.
This commit is contained in:
Thomas Watson 2023-02-14 08:44:11 +01:00 committed by GitHub
parent 8ec4b78988
commit da89dde7ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,6 +12,7 @@ jobs:
actions: read
contents: read
security-events: write
if: github.repository == 'elastic/kibana' # Hack: Do not run on forks
strategy:
fail-fast: false