diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1ceca8..065f57c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,7 +2,7 @@ name: "Run CI" on: pull_request: - types: [opened, reopened] + types: [opened, reopened, synchronize] push: branches: - "**" @@ -15,8 +15,10 @@ env: jobs: code-checks: + if: ${{ github.event_name == 'push' }} || ${{ 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' }} uses: ./.github/workflows/docs.yml with: deploy: false