CI: Avoid running on 'push' in mirrors / forks (#110063)

* CI: Avoid running on 'push' in mirrors / forks

* use single quotes
This commit is contained in:
Kevin Minehart
2025-08-22 18:35:52 -05:00
committed by GitHub
parent d51e6a16bc
commit 488caa12ec
9 changed files with 23 additions and 6 deletions
@@ -22,7 +22,8 @@ env:
jobs:
trigger-search-e2e:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
# Run on `grafana/grafana` main branch, or on pull requests to prevent double-running on mirrors
if: (github.event_name == 'pull_request' && github.event.pull_request.draft == false) || (github.event_name == 'push' && github.repository == 'grafana/grafana')
steps:
- name: Trigger Dashboard Search E2E
run: echo "Triggered Dashboard Search e2e..."
run: echo "Triggered Dashboard Search e2e..."