From 882df0e29e17b119fa16e9c1dff51c8366666140 Mon Sep 17 00:00:00 2001 From: Jeffrey Martin Date: Fri, 4 Oct 2024 09:01:06 -0500 Subject: [PATCH] limit project actions to primary repo --- .github/workflows/cla.yml | 1 + .github/workflows/labels.yml | 1 + .github/workflows/maintain_cache.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index b51833f88..86265217a 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -14,6 +14,7 @@ permissions: jobs: CLAAssistant: + if: github.repository_owner == 'leondz' runs-on: ubuntu-latest steps: - name: "CA & DCO Assistant" diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index f6f3c7123..6755f979f 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -26,6 +26,7 @@ on: jobs: handle-labels: + if: github.repository_owner == 'leondz' runs-on: ubuntu-latest steps: - uses: actions/github-script@v7 diff --git a/.github/workflows/maintain_cache.yml b/.github/workflows/maintain_cache.yml index 9f33fc6aa..e8034bd40 100644 --- a/.github/workflows/maintain_cache.yml +++ b/.github/workflows/maintain_cache.yml @@ -19,6 +19,7 @@ permissions: jobs: build: + if: github.repository_owner == 'leondz' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3