From f3dc67280dc15ebc39ae8fabe5d84bf7a145d949 Mon Sep 17 00:00:00 2001 From: Zoltan Kochan Date: Fri, 6 Feb 2026 00:45:04 +0100 Subject: [PATCH] ci: update-lockfile branch PR should trigger tests job --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48551b94b3..63b562503e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,8 @@ jobs: compile-and-lint: # Skip pull_request events from PRs in the same repo. This prevents # duplicate build jobs from running when creating a PR in the original repo. - if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository }} + # Exception: chore/update-lockfile PRs (created by automation with GITHUB_TOKEN, which doesn't trigger push events) + if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository || github.head_ref == 'chore/update-lockfile' }} name: Compile & Lint runs-on: ubuntu-latest @@ -44,7 +45,8 @@ jobs: needs: compile-and-lint # Skip pull_request events from PRs in the same repo. This prevents # duplicate test jobs from running when creating a PR in the original repo. - if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository }} + # Exception: chore/update-lockfile PRs (created by automation with GITHUB_TOKEN, which doesn't trigger push events) + if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository || github.head_ref == 'chore/update-lockfile' }} concurrency: group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.platform }}-${{ matrix.node[0] }}