From 74ec072a96607d6ea106270ed86e9f39e89533cf Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Fri, 2 Dec 2022 23:30:35 +0200 Subject: [PATCH] [v9.2.x] Restrict workflow to grafana/grafana repository (#59755) Restrict workflow to grafana/grafana repository (#59740) Signed-off-by: Jack Baldry Signed-off-by: Jack Baldry (cherry picked from commit e7bdcb4ba865103253c7752bd3ade5f9ebfcf949) Co-authored-by: Jack Baldry --- .github/workflows/publish-technical-documentation-next.yml | 1 + .github/workflows/publish-technical-documentation-release.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/publish-technical-documentation-next.yml b/.github/workflows/publish-technical-documentation-next.yml index 9e060ee0b8b..30666f2ebb0 100644 --- a/.github/workflows/publish-technical-documentation-next.yml +++ b/.github/workflows/publish-technical-documentation-next.yml @@ -10,6 +10,7 @@ on: workflow_dispatch: jobs: sync: + if: "github.repository == 'grafana/grafana'" runs-on: "ubuntu-latest" steps: - name: "Checkout Grafana repo" diff --git a/.github/workflows/publish-technical-documentation-release.yml b/.github/workflows/publish-technical-documentation-release.yml index e8864acfcb4..2e795855dac 100644 --- a/.github/workflows/publish-technical-documentation-release.yml +++ b/.github/workflows/publish-technical-documentation-release.yml @@ -12,6 +12,7 @@ on: workflow_dispatch: jobs: sync: + if: "github.repository == 'grafana/grafana'" runs-on: "ubuntu-latest" steps: - name: "Checkout Grafana repo"