fix if clause in job skip logic (#3825)

This commit is contained in:
Massimiliano Pippi 2023-01-08 18:20:35 +01:00 committed by GitHub
parent eb1881f38f
commit 93b48bc334
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ env:
jobs:
check-license-compliance-cpu:
if: github.repository_owner == 'deepset-ai'
if: ${{ !github.event.pull_request.head.repo.fork }}
name: Check CPU dependencies
runs-on: ubuntu-latest
steps:
@ -58,7 +58,7 @@ jobs:
channel: ${{ env.SLACK_ALERT_CHANNEL }}
check-license-compliance-gpu:
if: github.repository_owner == 'deepset-ai'
if: ${{ !github.event.pull_request.head.repo.fork }}
name: Check GPU dependencies
runs-on: ubuntu-latest
steps: