From 2fba21be63dd22148cb7dafcac193caad00556d4 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Mon, 27 Mar 2023 12:44:04 +0200 Subject: [PATCH] Restrict github workflows to explosion (#12470) --- .github/workflows/explosionbot.yml | 1 + .github/workflows/issue-manager.yml | 1 + .github/workflows/lock.yml | 1 + .github/workflows/spacy_universe_alert.yml | 1 + .github/workflows/tests.yml | 1 + .github/workflows/universe_validation.yml | 1 + 6 files changed, 6 insertions(+) diff --git a/.github/workflows/explosionbot.yml b/.github/workflows/explosionbot.yml index 6b472cd12..910cfdc40 100644 --- a/.github/workflows/explosionbot.yml +++ b/.github/workflows/explosionbot.yml @@ -8,6 +8,7 @@ on: jobs: explosion-bot: + if: github.repository_owner == 'explosion' runs-on: ubuntu-latest steps: - name: Dump GitHub context diff --git a/.github/workflows/issue-manager.yml b/.github/workflows/issue-manager.yml index 8f3a151ea..6c7d7d5a6 100644 --- a/.github/workflows/issue-manager.yml +++ b/.github/workflows/issue-manager.yml @@ -13,6 +13,7 @@ on: jobs: issue-manager: + if: github.repository_owner == 'explosion' runs-on: ubuntu-latest steps: - uses: tiangolo/issue-manager@0.4.0 diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 794adee85..6c3985a93 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -13,6 +13,7 @@ concurrency: jobs: action: + if: github.repository_owner == 'explosion' runs-on: ubuntu-latest steps: - uses: dessant/lock-threads@v4 diff --git a/.github/workflows/spacy_universe_alert.yml b/.github/workflows/spacy_universe_alert.yml index 837aaeb33..33851fbcc 100644 --- a/.github/workflows/spacy_universe_alert.yml +++ b/.github/workflows/spacy_universe_alert.yml @@ -7,6 +7,7 @@ on: jobs: build: + if: github.repository_owner == 'explosion' runs-on: ubuntu-latest steps: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 41ea6ce50..f226057c9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,6 +21,7 @@ on: jobs: validate: name: Validate + if: github.repository_owner == 'explosion' runs-on: ubuntu-latest steps: - name: Check out repo diff --git a/.github/workflows/universe_validation.yml b/.github/workflows/universe_validation.yml index f9e317aaa..a1e3253a9 100644 --- a/.github/workflows/universe_validation.yml +++ b/.github/workflows/universe_validation.yml @@ -16,6 +16,7 @@ on: jobs: validate: name: Validate + if: github.repository_owner == 'explosion' runs-on: ubuntu-latest steps: - name: Check out repo