ci: limit scope for the CodeQL scan

Don't run the workflow unnecessarily for non-{cpp,python} related changes.
This commit is contained in:
Frantisek Sumsal 2022-09-13 21:30:10 +02:00
parent 774cf0d8fd
commit 736a1df747

View file

@ -9,6 +9,12 @@ on:
branches: branches:
- main - main
- v[0-9]+-stable - v[0-9]+-stable
paths:
- '**/meson.build'
- '.github/**/codeql*'
- 'src/**'
- 'test/**'
- 'tools/**'
push: push:
branches: branches:
- main - main