mirror of
https://github.com/pnpm/pnpm.git
synced 2026-05-19 14:20:36 -04:00
ci: update-lockfile branch PR should trigger tests job
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -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] }}
|
||||
|
||||
Reference in New Issue
Block a user