From a38cb554684db798f66df4af59f1bc56e0677f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien?= Date: Wed, 26 Apr 2023 18:02:51 -0400 Subject: [PATCH] Update codeql-analysis.yml [skip actions] --- .github/workflows/codeql-analysis.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0dc23e93..b32a91fb 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -47,7 +47,6 @@ jobs: # 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. # queries: ./path/to/local/query, your-org/your-repo/queries@main - paths-ignore: components/wifi-manager/webapp/dist/js/index*, components/wifi-manager/webapp/dist/js/index* # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) @@ -64,6 +63,13 @@ jobs: #- run: | # make bootstrap # make release - + # Exclude specific artifacts from analysis + - name: Exclude Artifacts + run: | + # Exclude components/wifi-manager/webapp/dist/js/index* from analysis + echo 'components/wifi-manager/webapp/dist/js/index*' >> .codeql-exclude-paths + echo 'components/wifi-manager/webapp/dist/js/index*' >> .codeql-exclude-paths.txt + echo 'components/wifi-manager/webapp/dist/index*' >> .codeql-exclude-paths + echo 'components/wifi-manager/webapp/dist/index*' >> .codeql-exclude-paths.txt - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v2