From e33796638c4ed6bb4bb7bed5de0586fba70aebc0 Mon Sep 17 00:00:00 2001 From: Dwynr Date: Thu, 1 Feb 2024 07:54:40 +0100 Subject: [PATCH] chore: codeql only on src dir --- .github/workflows/codeql-config.yml | 3 +++ .github/workflows/codeql.yml | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/codeql-config.yml diff --git a/.github/workflows/codeql-config.yml b/.github/workflows/codeql-config.yml new file mode 100644 index 00000000..60694975 --- /dev/null +++ b/.github/workflows/codeql-config.yml @@ -0,0 +1,3 @@ +name: "CodeQL Configuration" +paths: + - src/ diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index eeb60189..11f36fba 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -11,9 +11,6 @@ # name: "CodeQL" -paths: - - src - on: push: branches: ["main"] @@ -58,6 +55,7 @@ jobs: uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} + config-file: .github/codeql-config.yml # If you wish to specify custom queries, you can do so here or in a config file. # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file.