mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-27 04:24:45 +00:00
ci: run ci also on forks
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
034a411057
commit
8d12ed1227
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -2,7 +2,7 @@ name: "Run CI"
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, reopened]
|
types: [opened, reopened, synchronize]
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "**"
|
- "**"
|
||||||
@ -15,8 +15,10 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
code-checks:
|
code-checks:
|
||||||
|
if: ${{ github.event_name == 'push' }} || ${{ github.event.pull_request.head.repo.full_name != 'DS4SD/docling' }}
|
||||||
uses: ./.github/workflows/checks.yml
|
uses: ./.github/workflows/checks.yml
|
||||||
build-docs:
|
build-docs:
|
||||||
|
if: ${{ github.event_name == 'push' }} || ${{ github.event.pull_request.head.repo.full_name != 'DS4SD/docling' }}
|
||||||
uses: ./.github/workflows/docs.yml
|
uses: ./.github/workflows/docs.yml
|
||||||
with:
|
with:
|
||||||
deploy: false
|
deploy: false
|
||||||
|
Loading…
Reference in New Issue
Block a user