From bb7a58d45d187ba8d251f058a44ffab6571ccb6a Mon Sep 17 00:00:00 2001 From: Michele Dolfi <97102151+dolfim-ibm@users.noreply.github.com> Date: Fri, 18 Oct 2024 12:32:27 +0200 Subject: [PATCH] ci: run ci also on forks (#160) --------- Signed-off-by: Michele Dolfi Signed-off-by: Michele Dolfi <97102151+dolfim-ibm@users.noreply.github.com> --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1ceca81..5f81d0a8 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' && 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