From 5094eea69951b4caf7cb43d0f384dc510dbe4864 Mon Sep 17 00:00:00 2001 From: armfazh Date: Wed, 24 Jan 2024 15:00:35 -0800 Subject: [PATCH] CI runs only on divviup repository. --- .github/workflows/ci-build.yml | 3 +++ .github/workflows/publish-crate.yml | 1 + .github/workflows/supply-chain.yml | 1 + 3 files changed, 5 insertions(+) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 25ad0a697..9483ec892 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -12,6 +12,7 @@ env: jobs: docs: + if: github.repository_owner == 'divviup' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -23,6 +24,7 @@ jobs: RUSTDOCFLAGS: -Dwarnings build-binaries: + if: github.repository_owner == 'divviup' strategy: matrix: rust-toolchain: [ @@ -44,6 +46,7 @@ jobs: run: cargo clippy --package prio-binaries build-crate: + if: github.repository_owner == 'divviup' strategy: matrix: rust-toolchain: [ diff --git a/.github/workflows/publish-crate.yml b/.github/workflows/publish-crate.yml index bdf5bf54f..40b7eb0d3 100644 --- a/.github/workflows/publish-crate.yml +++ b/.github/workflows/publish-crate.yml @@ -6,6 +6,7 @@ on: jobs: crate: + if: github.repository_owner == 'divviup' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/supply-chain.yml b/.github/workflows/supply-chain.yml index 7f30db31d..39986145b 100644 --- a/.github/workflows/supply-chain.yml +++ b/.github/workflows/supply-chain.yml @@ -13,6 +13,7 @@ on: jobs: vet: + if: github.repository_owner == 'divviup' name: Vet Dependencies runs-on: ubuntu-latest env: