From a92e0b2545cdb1c31f601884d1d1f0fde3041b13 Mon Sep 17 00:00:00 2001 From: Matthias Date: Mon, 11 May 2026 18:34:32 +0200 Subject: [PATCH] chore(ci): improved condition syntax --- .github/workflows/pre-commit-types-update.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit-types-update.yml b/.github/workflows/pre-commit-types-update.yml index 3808547c6..bac7e82f4 100644 --- a/.github/workflows/pre-commit-types-update.yml +++ b/.github/workflows/pre-commit-types-update.yml @@ -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