docling/.github/workflows/ci.yml
Michele Dolfi bb7a58d45d
ci: run ci also on forks (#160)
---------

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
Signed-off-by: Michele Dolfi <97102151+dolfim-ibm@users.noreply.github.com>
2024-10-18 12:32:27 +02:00

25 lines
796 B
YAML

name: "Run CI"
on:
pull_request:
types: [opened, reopened, synchronize]
push:
branches:
- "**"
- "!main"
- "!gh-pages"
env:
# disable keyring (https://github.com/actions/runner-images/issues/6185):
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring
jobs:
code-checks:
if: ${{ github.event_name == 'push' || (github.event.pull_request.head.repo.full_name != 'DS4SD/docling' && github.event.pull_request.head.repo.full_name != 'ds4sd/docling') }}
uses: ./.github/workflows/checks.yml
build-docs:
if: ${{ github.event_name == 'push' || (github.event.pull_request.head.repo.full_name != 'DS4SD/docling' && github.event.pull_request.head.repo.full_name != 'ds4sd/docling') }}
uses: ./.github/workflows/docs.yml
with:
deploy: false