ci: update-lockfile branch PR should trigger tests job

This commit is contained in:
Zoltan Kochan
2026-02-06 00:45:04 +01:00
parent 587e1939f5
commit f3dc67280d

View File

@@ -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] }}