From ef78f21d511f0396ce4efbc8a99c0002e3ee144d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaroslav=20=C5=A0karvada?= Date: Thu, 19 Mar 2026 16:35:52 +0100 Subject: [PATCH] actions: build docs only in the upstream repo (not in private forks) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This should stop contributors receiving the "deployment failed" e-mails. Signed-off-by: Jaroslav Škarvada --- .github/workflows/pages.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 9b71006..218d76d 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -18,6 +18,7 @@ concurrency: jobs: build: + if: ${{ github.repository == 'redhat-performance/tuned' }} runs-on: ubuntu-latest steps: - name: Checkout the master branch @@ -39,6 +40,7 @@ jobs: uses: actions/upload-pages-artifact@v4 deploy: + if: ${{ github.repository == 'redhat-performance/tuned' }} environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}