From 68368621f3ad2b22ea9d3ce29215076a1d006ac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Thu, 12 Dec 2024 17:35:51 +0100 Subject: [PATCH] Prevent execution of Antora jobs on forks Closes gh-34083 --- .github/workflows/deploy-docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index ea6006f52f..cd1aac0d68 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -15,7 +15,7 @@ permissions: jobs: build: name: Dispatch docs deployment - if: github.repository_owner == 'spring-projects' + if: ${{ github.repository == 'spring-projects/spring-framework' }} runs-on: ubuntu-latest steps: - name: Check out code