ci: include workflow files in their own path filters

This commit is contained in:
Mrityunjay Raj 2026-02-15 00:50:49 +05:30
parent 7ca00c0f70
commit 802ec2f980
2 changed files with 4 additions and 0 deletions

View file

@ -8,10 +8,12 @@ on:
paths:
- '**.py'
- 'pyproject.toml'
- '.github/workflows/black.yaml'
pull_request:
paths:
- '**.py'
- 'pyproject.toml'
- '.github/workflows/black.yaml'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}

View file

@ -10,6 +10,7 @@ on:
- '**.pyx'
- '**.c'
- '**.h'
- '.github/workflows/codeql-analysis.yml'
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
@ -18,6 +19,7 @@ on:
- '**.pyx'
- '**.c'
- '**.h'
- '.github/workflows/codeql-analysis.yml'
schedule:
- cron: '39 2 * * 5'