Update ci.yml

Signed-off-by: Michele Dolfi <97102151+dolfim-ibm@users.noreply.github.com>
This commit is contained in:
Michele Dolfi 2024-10-18 09:56:06 +02:00 committed by GitHub
parent 3362384976
commit 40d413446a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,6 +14,13 @@ env:
PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring PYTHON_KEYRING_BACKEND: keyring.backends.null.Keyring
jobs: jobs:
debug:
runs-on: ubuntu-latest
steps:
- name: print 1
run: echo "${{ github.event_name }}"
- name: print 2
run: echo "${{ github.event.pull_request.head.repo.full_name }}"
code-checks: 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' }}) 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 uses: ./.github/workflows/checks.yml