CI: more filters, update CodeQL (#1540)

* CI: fix and more greedy filtering

* CI: only run lint if *.py changed

* CI: only run CodeQL if supported file changed

* CI: fix unittests still triggering for build.yml

* CI: update CodeQL action

* CI: trigger codeql when changing the workflow
This commit is contained in:
black-sliver
2023-03-14 19:29:20 +01:00
committed by GitHub
parent 4b7033fce7
commit 3a190a8fb2
4 changed files with 36 additions and 16 deletions

View File

@@ -5,12 +5,12 @@ name: Build
on:
push:
paths:
- '.github/workflows/build.yaml'
- '.github/workflows/build.yml'
- 'setup.py'
- 'requirements.txt'
pull_request:
paths:
- '.github/workflows/build.yaml'
- '.github/workflows/build.yml'
- 'setup.py'
- 'requirements.txt'
workflow_dispatch: