chore(ci): improved condition syntax

This commit is contained in:
Matthias
2026-05-11 18:34:32 +02:00
parent 8abdd496f6
commit a92e0b2545
@@ -15,7 +15,11 @@ jobs:
name: "Mypy Version Update"
runs-on: ubuntu-24.04
# Only run this job for pull requests created by dependabot[bot]
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == github.event.pull_request.head.repo.full_name && github.event_name == 'pull_request' && startsWith(github.head_ref, 'dependabot/')
if: >
github.event.pull_request.user.login == 'dependabot[bot]' &&
github.repository == github.event.pull_request.head.repo.full_name &&
github.event_name == 'pull_request' &&
startsWith(github.head_ref, 'dependabot/')
environment:
name: develop