Merge pull request #2042 from codeflash-ai/ci/scope-workflow-triggers

ci: scope workflow triggers to skip docs-only changes
This commit is contained in:
Kevin Turcios 2026-04-09 05:09:16 -05:00 committed by GitHub
commit 116a6741a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 38 additions and 2 deletions

View file

@ -3,7 +3,10 @@ name: CodeFlash
on:
pull_request:
paths:
- '**' # Trigger for all paths
- 'codeflash/**'
- 'tests/**'
- 'pyproject.toml'
- 'uv.lock'
workflow_dispatch:

View file

@ -4,7 +4,17 @@ on:
push:
branches:
- main
paths:
- 'codeflash/**'
- 'pyproject.toml'
- 'uv.lock'
- 'mypy_allowlist.txt'
pull_request:
paths:
- 'codeflash/**'
- 'pyproject.toml'
- 'uv.lock'
- 'mypy_allowlist.txt'
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}

View file

@ -1,5 +1,12 @@
name: Lint
on: [pull_request]
on:
pull_request:
paths:
- 'codeflash/**'
- 'tests/**'
- 'packages/**'
- 'pyproject.toml'
- 'uv.lock'
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}

View file

@ -3,7 +3,23 @@ name: unit-tests
on:
push:
branches: [main]
paths:
- 'codeflash/**'
- 'codeflash-benchmark/**'
- 'codeflash-java-runtime/**'
- 'tests/**'
- 'packages/**'
- 'pyproject.toml'
- 'uv.lock'
pull_request:
paths:
- 'codeflash/**'
- 'codeflash-benchmark/**'
- 'codeflash-java-runtime/**'
- 'tests/**'
- 'packages/**'
- 'pyproject.toml'
- 'uv.lock'
workflow_dispatch:
concurrency: