CI: Skip analysis steps if not needed (#85532)

This commit is contained in:
Fabrizio authored and GitHub committed 2024-04-03 17:00:13 +03:00
1 parent 61e4cfac65
commit 027329d4b6
3 files changed
+3 -3

No files matched your search

@@ -16,6 +16,7 @@ jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
if: github.repository == 'grafana/grafana'
steps:
- name: Checkout repository
@@ -33,4 +34,3 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
if: github.repository == 'grafana/grafana'