diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64edc201..7c9fe21c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ on: # Nightly build at 3:42 A.M. - cron: "42 3 */1 * *" pull_request: - types: [opened, reopened] + types: [opened, reopened, synchronize] push: branches: - "**" @@ -18,9 +18,12 @@ env: jobs: code-checks: + if: ${{ github.event_name == 'push' || (github.event.pull_request.head.repo.full_name != 'DS4SD/docling-parse' && github.event.pull_request.head.repo.full_name != 'ds4sd/docling-parse') }} uses: ./.github/workflows/checks.yml build-wheels: + if: ${{ github.event_name == 'push' || (github.event.pull_request.head.repo.full_name != 'DS4SD/docling-parse' && github.event.pull_request.head.repo.full_name != 'ds4sd/docling-parse') }} uses: ./.github/workflows/wheels.yml rhel-build: + if: ${{ github.event_name == 'push' || (github.event.pull_request.head.repo.full_name != 'DS4SD/docling-parse' && github.event.pull_request.head.repo.full_name != 'ds4sd/docling-parse') }} uses: ./.github/workflows/rhel.yml \ No newline at end of file