ci: add paths command to skip unnecessary GitHub actions

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares 2022-10-02 21:35:05 +02:00
parent c4e06cfe28
commit 9b2cc5ceba

View file

@ -18,9 +18,15 @@ name: "CodeQL"
on: on:
push: push:
branches: [ develop ] branches: [ develop ]
paths:
- 'src/'
- 'test/'
pull_request: pull_request:
# The branches below must be a subset of the branches above # The branches below must be a subset of the branches above
branches: [ develop ] branches: [ develop ]
paths:
- 'src/'
- 'test/'
schedule: schedule:
- cron: '15 4 * * 3' - cron: '15 4 * * 3'