Unverified Commit 500ed3f2 authored by Jiwon Choi's avatar Jiwon Choi Committed by GitHub

Narrow upgrade eval triggers (#100075)

### Why?

Broad path filters run upgrade evals on unrelated configuration and
dependency changes, adding unnecessary CI work to PR updates.

### How?

Limit automatic runs to upgrade implementation, its eval suite, and
directly used eval infrastructure. Broader configuration, dependency,
documentation, and shared codemod changes can use the existing manual
trigger.

<!-- NEXT_JS_LLM -->
parent 73ab7c5d
...@@ -8,23 +8,13 @@ on: ...@@ -8,23 +8,13 @@ on:
types: [opened, synchronize, reopened] types: [opened, synchronize, reopened]
paths: paths:
- '.github/workflows/next-upgrade-evals.yml' - '.github/workflows/next-upgrade-evals.yml'
- 'evals/lib/**'
- 'evals/next-upgrade/**' - 'evals/next-upgrade/**'
- 'evals/lib/pack.js'
- 'evals/lib/setup.ts'
- 'patches/@vercel__agent-eval@*.patch' - 'patches/@vercel__agent-eval@*.patch'
- 'pnpm-lock.yaml' - 'packages/next-codemod/bin/upgrade.ts'
- 'package.json'
- 'turbo.json'
- 'packages/next/package.json'
- 'packages/next/turbo.json'
- 'packages/next-codemod/**'
- 'packages/next/src/bin/next.ts'
- 'packages/next/src/cli/next-upgrade.ts' - 'packages/next/src/cli/next-upgrade.ts'
- 'packages/next/src/cli/next-build.ts'
- 'packages/next/src/cli/next-dev.ts'
- 'packages/next/src/lib/upgrade/**' - 'packages/next/src/lib/upgrade/**'
- 'packages/next/src/server/config*.ts'
- 'docs/01-app/02-guides/upgrading/**'
- 'docs/02-pages/02-guides/upgrading/**'
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment