Skip to content

Commit d2264b2

Browse files
scordiosnicoll
authored andcommitted
Prevent execution of Antora jobs on forks
See gh-34077
1 parent 2c32601 commit d2264b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/update-antora-ui-spring.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ permissions:
1313
jobs:
1414
update-antora-ui-spring:
1515
runs-on: ubuntu-latest
16+
if: github.repository_owner == 'spring-projects'
1617
name: Update on Supported Branches
1718
strategy:
1819
matrix:
@@ -26,6 +27,7 @@ jobs:
2627
antora-file-path: 'framework-docs/antora-playbook.yml'
2728
update-antora-ui-spring-docs-build:
2829
runs-on: ubuntu-latest
30+
if: github.repository_owner == 'spring-projects'
2931
name: Update on docs-build
3032
steps:
3133
- uses: spring-io/spring-doc-actions/update-antora-spring-ui@5a57bcc6a0da2a1474136cf29571b277850432bc

0 commit comments

Comments
 (0)