CI: Skip CodeQL analysis if repo is not grafana/grafana (#85652)

This commit is contained in:
Fabrizio 2024-04-05 17:10:18 +02:00 committed by GitHub
parent 883a41e8aa
commit 45c56d208f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -25,6 +25,7 @@ jobs:
analyze: analyze:
name: Analyze name: Analyze
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'grafana/grafana'
strategy: strategy:
fail-fast: false fail-fast: false
@ -67,4 +68,3 @@ jobs:
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2 uses: github/codeql-action/analyze@v2
if: github.repository == 'grafana/grafana'