forked from apache/roller
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeQL: don't scan JS files three times.
this requires unfortunately another config file since path settings can't be set in the workflow config. see github/codeql-action#283
- Loading branch information
Showing
2 changed files
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: "Roller CodeQL config" | ||
|
||
# paths-ignore only influences interpreted languages according to the doc | ||
# don't scan JS files three times: | ||
# - ignore test folder and source folder | ||
# - target is kept to only scan what is deployed | ||
paths-ignore: | ||
- app/target/test-classes | ||
- app/src | ||
|
||
# If you wish to specify custom queries, you can do so here or in a config file. | ||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters