Skip to content

Commit 17ced06

Browse files
authored
Move paths-ignore to CodeQL config file and use config-file input
1 parent a2c3f17 commit 17ced06

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/codeql/codeql-config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
paths-ignore:
2+
- 'assets/js/index.js'

.github/workflows/codeql.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@ jobs:
4848
with:
4949
languages: ${{ matrix.language }}
5050
build-mode: ${{ matrix.build-mode }}
51-
config: |
52-
paths-ignore:
53-
- 'assets/js/index.js'
51+
config-file: ./.github/codeql/codeql-config.yml
5452

5553
# If the analyze step fails for one of the languages you are analyzing with
5654
# "We were unable to automatically build your code", modify the matrix above

0 commit comments

Comments
 (0)