Skip to content

Commit 836571a

Browse files
authored
chore: allow forks with synchronize event (#46)
Signed-off-by: Michele Dolfi <[email protected]>
1 parent d76d24c commit 836571a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
# Nightly build at 3:42 A.M.
66
- cron: "42 3 */1 * *"
77
pull_request:
8-
types: [opened, reopened]
8+
types: [opened, reopened, synchronize]
99
push:
1010
branches:
1111
- "**"
@@ -18,9 +18,12 @@ env:
1818

1919
jobs:
2020
code-checks:
21+
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') }}
2122
uses: ./.github/workflows/checks.yml
2223
build-wheels:
24+
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') }}
2325
uses: ./.github/workflows/wheels.yml
2426
rhel-build:
27+
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') }}
2528
uses: ./.github/workflows/rhel.yml
2629

0 commit comments

Comments
 (0)