From b1831ebba08a5ea7cdec2805a77d919bcd6dd9ea Mon Sep 17 00:00:00 2001 From: Jeremy Landis Date: Sun, 31 Dec 2023 14:30:17 -0500 Subject: [PATCH] [GHA] Do not run github-pages unless on main repo --- .github/workflows/github-pages.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index e45c5f663..d60a126ab 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -8,6 +8,8 @@ on: jobs: build: + # Do not run on forks as unnecessary + if: github.repository_owner == 'damianszczepanik' runs-on: ubuntu-latest steps: