CI: Skip expensive tests suites on push in forks and mirrors (#110074)

Skip expensive tests suites on push in forks and mirrors
This commit is contained in:
Kevin Minehart authored and GitHub committed 2025-08-23 02:44:51 +00:00
1 parent ded6ba49f3
commit 67a6866c7b
3 files changed
+6

No files matched your search

+2
View File
@@ -20,6 +20,8 @@ env:
jobs:
detect-changes:
# Run on `grafana/grafana` main branch, or on pull requests to prevent double-running on mirrors
if: (github.event_name == 'pull_request' || (github.event_name == 'push' && github.repository == 'grafana/grafana'))
name: Detect whether code changed
runs-on: ubuntu-latest
permissions: