diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index c79944f8..7832e28b 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -3,9 +3,17 @@ name: "CodeQL" on: push: branches: [ 'master' ] + paths: + - '**.c' + - '**.cpp' + - '**.h' pull_request: # The branches below must be a subset of the branches above. branches: [ 'master' ] + paths: + - '**.c' + - '**.cpp' + - '**.h' schedule: - cron: '33 7 * * 6'