mirror of
https://github.com/codeflash-ai/codeflash.git
synced 2026-05-04 18:25:17 +00:00
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:
commit
116a6741a0
4 changed files with 38 additions and 2 deletions
5
.github/workflows/codeflash-optimize.yaml
vendored
5
.github/workflows/codeflash-optimize.yaml
vendored
|
|
@ -3,7 +3,10 @@ name: CodeFlash
|
|||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- '**' # Trigger for all paths
|
||||
- 'codeflash/**'
|
||||
- 'tests/**'
|
||||
- 'pyproject.toml'
|
||||
- 'uv.lock'
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
|
|
|
|||
10
.github/workflows/mypy.yml
vendored
10
.github/workflows/mypy.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
9
.github/workflows/prek.yaml
vendored
9
.github/workflows/prek.yaml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
16
.github/workflows/unit-tests.yaml
vendored
16
.github/workflows/unit-tests.yaml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue