Merge pull request #34077 from scordio
* pr/34077: Polish "Prevent execution of Antora jobs on forks" Prevent execution of Antora jobs on forks Closes gh-34077
This commit is contained in:
commit
d7a3971403
|
@ -12,8 +12,9 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update-antora-ui-spring:
|
update-antora-ui-spring:
|
||||||
runs-on: ubuntu-latest
|
|
||||||
name: Update on Supported Branches
|
name: Update on Supported Branches
|
||||||
|
if: ${{ github.repository == 'spring-projects/spring-framework' }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
branch: [ '6.1.x' ]
|
branch: [ '6.1.x' ]
|
||||||
|
@ -25,8 +26,9 @@ jobs:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
antora-file-path: 'framework-docs/antora-playbook.yml'
|
antora-file-path: 'framework-docs/antora-playbook.yml'
|
||||||
update-antora-ui-spring-docs-build:
|
update-antora-ui-spring-docs-build:
|
||||||
runs-on: ubuntu-latest
|
|
||||||
name: Update on docs-build
|
name: Update on docs-build
|
||||||
|
if: ${{ github.repository == 'spring-projects/spring-framework' }}
|
||||||
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: spring-io/spring-doc-actions/update-antora-spring-ui@5a57bcc6a0da2a1474136cf29571b277850432bc
|
- uses: spring-io/spring-doc-actions/update-antora-spring-ui@5a57bcc6a0da2a1474136cf29571b277850432bc
|
||||||
name: Update
|
name: Update
|
||||||
|
|
Loading…
Reference in New Issue