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 11:34:57 +02:00 committed by GitHub
parent d75c5893a0
commit 20d27021cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,10 +30,10 @@ jobs:
- name: print 2c
run: echo "${{ github.event.pull_request.head.repo.full_name != 'ds4sd/docling' && github.event.pull_request.head.repo.full_name != 'DS4SD/docling' }}"
to-skip:
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') }}
runs-on: ubuntu-latest
steps:
- run: echo "I was here..."
- run: echo "I was here... event_name=${{ github.event_name }}"
# 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