From dff1ae69a71254b807bee9e2f72c7ab0eed66e60 Mon Sep 17 00:00:00 2001 From: Brian DeHamer Date: Thu, 3 Oct 2024 07:56:27 -0700 Subject: [PATCH] prevent e2e workflows on forks (#272) Signed-off-by: Brian DeHamer --- .github/workflows/prober-github.yml | 1 + .github/workflows/prober-public-good.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/prober-github.yml b/.github/workflows/prober-github.yml index ce57f216..ea0b10f5 100644 --- a/.github/workflows/prober-github.yml +++ b/.github/workflows/prober-github.yml @@ -8,6 +8,7 @@ on: jobs: prober: + if: github.repository_owner == 'actions' permissions: attestations: write id-token: write diff --git a/.github/workflows/prober-public-good.yml b/.github/workflows/prober-public-good.yml index 56d86908..d8efefd1 100644 --- a/.github/workflows/prober-public-good.yml +++ b/.github/workflows/prober-public-good.yml @@ -8,6 +8,7 @@ on: jobs: prober: + if: github.repository_owner == 'actions' permissions: attestations: write id-token: write