Prevent execution of Antora jobs on forks

Closes gh-34083
This commit is contained in:
Stéphane Nicoll
2024-12-12 17:35:51 +01:00
parent 890a8f4311
commit 68368621f3

View File

@@ -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