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
2025-08-23 02:44:51 +00:00
committed by GitHub
parent ded6ba49f3
commit 67a6866c7b
3 changed files with 6 additions and 0 deletions
@@ -19,6 +19,8 @@ permissions: {}
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: