diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 035c63d..5ec5b54 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,6 +15,7 @@ env: jobs: code-checks: + if: ${{ github.event_name == 'push' || (github.event.pull_request.head.repo.full_name != 'DS4SD/docling-core' && github.event.pull_request.head.repo.full_name != 'ds4sd/docling-core') }} uses: ./.github/workflows/checks.yml # To enable when we add the ./docs