mirror of
https://github.com/keycloak/keycloak.git
synced 2025-12-16 20:15:46 -06:00
Exclude invalid JavaScript files from CodeQL
Closes #42664 Signed-off-by: Alexander Schwartz <alexander.schwartz@gmx.net>
This commit is contained in:
committed by
GitHub
parent
1b7709bfa2
commit
15223f298f
2
.github/actions/conditional/conditions
vendored
2
.github/actions/conditional/conditions
vendored
@@ -12,6 +12,8 @@
|
||||
.github/workflows/operator-ci.yml operator
|
||||
.github/workflows/js-ci.yml js
|
||||
.github/workflows/codeql-analysis.yml codeql-java codeql-javascript codeql-typescript codeql-actions
|
||||
.github/codeql/codeql-config-javascript.yml codeql-javascript
|
||||
.github/codeql/codeql-config-typescript.yml codeql-typescript
|
||||
.github/workflows/guides.yml guides
|
||||
.github/workflows/documentation.yml documentation
|
||||
.github/workflows/*.yml codeql-actions
|
||||
|
||||
3
.github/codeql/codeql-config-javascript.yml
vendored
Normal file
3
.github/codeql/codeql-config-javascript.yml
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
paths-ignore:
|
||||
# This file is invalid on purpose for testing. Exclude it to prevent an "Unexpected token" error in CodeQL being reported.
|
||||
- testsuite/integration-arquillian/servers/auth-server/services/testsuite-providers-deployment/src/main/resources/scripts/test-bad-script-mapper3.js
|
||||
3
.github/codeql/codeql-config-typescript.yml
vendored
Normal file
3
.github/codeql/codeql-config-typescript.yml
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
paths-ignore:
|
||||
# This file is invalid on purpose for testing. Exclude it to prevent an "Unexpected token" error in CodeQL being reported.
|
||||
- testsuite/integration-arquillian/servers/auth-server/services/testsuite-providers-deployment/src/main/resources/scripts/test-bad-script-mapper3.js
|
||||
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
@@ -92,6 +92,7 @@ jobs:
|
||||
CODEQL_ACTION_EXTRA_OPTIONS: '{"database":{"finalize":["--no-run-unnecessary-builds"]}}'
|
||||
with:
|
||||
languages: javascript
|
||||
config-file: ./.github/codeql/codeql-config-javascript.yml
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
|
||||
@@ -119,6 +120,7 @@ jobs:
|
||||
CODEQL_ACTION_EXTRA_OPTIONS: '{"database":{"finalize":["--no-run-unnecessary-builds"]}}'
|
||||
with:
|
||||
languages: typescript
|
||||
config-file: ./.github/codeql/codeql-config-typescript.yml
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
|
||||
|
||||
Reference in New Issue
Block a user