Skip to content

Commit 2fb3b0a

Browse files
committed
Add workspace to env for analyze step code scanning config
1 parent fbb3806 commit 2fb3b0a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/code_scanning.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ jobs:
5959
env:
6060
LGTM_INDEX_XML_MODE: all
6161
LGTM_INDEX_FILETYPES: ".json:JSON"
62+
# Add our CodeQL workspace to the path to search for packs to then resolve the MaD locally
63+
CODEQL_ACTION_EXTRA_OPTIONS: '{"database":{"run-queries":["--search-path","${{ github.workspace }}"]}}'
6264

6365
- name: Setup Python
6466
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)