File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1+ name : " CodeQL Config"
2+
3+ # Exclude template directories that contain placeholder syntax
4+ paths-ignore :
5+ - templates/
6+ - templates/**
7+
8+ # Include only actual source code
9+ paths :
10+ - bin/
11+ - scripts/
Original file line number Diff line number Diff line change 5353 uses : github/codeql-action/init@bffd034ab1518ad839a542b8a7356e13a240e076 # v3.31.7
5454 with :
5555 languages : ${{ matrix.language }}
56+ config-file : ./.github/codeql/codeql-config.yml
5657 # If you wish to specify custom queries, you can do so here or in a config file.
5758 # By default, queries listed here will override any specified in a config file.
5859 # Prefix the list here with "+" to use these queries and those in the config file.
7475
7576 # Autobuild attempts to build any compiled languages (C/C++, C#, Go).
7677 # For Java, we use explicit Maven build steps above instead.
78+ # For Go, skip autobuild since templates/ contains placeholder files
7779 - name : Autobuild
78- if : matrix.language != 'java'
80+ if : matrix.language != 'java' && matrix.language != 'go'
7981 uses : github/codeql-action/autobuild@bffd034ab1518ad839a542b8a7356e13a240e076 # v3.31.7
8082
8183 # ℹ️ Command-line programs to run using the OS shell.
You can’t perform that action at this time.
0 commit comments