Skip to content

Commit 07e4566

Browse files
committed
ci: remove self-references from workflow path filters
Editing a workflow YAML file should not trigger that same workflow to run. Removes .github/workflows/<file> from its own paths filter in mypy.yml, prek.yaml, and unit-tests.yaml.
1 parent e2e8557 commit 07e4566

3 files changed

Lines changed: 0 additions & 5 deletions

File tree

.github/workflows/mypy.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@ on:
99
- 'pyproject.toml'
1010
- 'uv.lock'
1111
- 'mypy_allowlist.txt'
12-
- '.github/workflows/mypy.yml'
1312
pull_request:
1413
paths:
1514
- 'codeflash/**'
1615
- 'pyproject.toml'
1716
- 'uv.lock'
1817
- 'mypy_allowlist.txt'
19-
- '.github/workflows/mypy.yml'
2018

2119
concurrency:
2220
group: ${{ github.workflow }}-${{ github.ref_name }}

.github/workflows/prek.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
- 'packages/**'
88
- 'pyproject.toml'
99
- 'uv.lock'
10-
- '.github/workflows/prek.yaml'
1110

1211
concurrency:
1312
group: ${{ github.workflow }}-${{ github.ref_name }}

.github/workflows/unit-tests.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111
- 'packages/**'
1212
- 'pyproject.toml'
1313
- 'uv.lock'
14-
- '.github/workflows/unit-tests.yaml'
1514
pull_request:
1615
paths:
1716
- 'codeflash/**'
@@ -21,7 +20,6 @@ on:
2120
- 'packages/**'
2221
- 'pyproject.toml'
2322
- 'uv.lock'
24-
- '.github/workflows/unit-tests.yaml'
2523
workflow_dispatch:
2624

2725
concurrency:

0 commit comments

Comments
 (0)