Skip to content

Commit

Permalink
Exclude bcsl.ts test files from CodeQL code scanning
Browse files Browse the repository at this point in the history
Fix errors like:

```
lib/galaxy/datatypes/test/test_file3.bcsl.ts#L2C12:12: A parse error
occurred: `';' expected.`. Check the syntax of the file. If the file
is invalid, correct the error or
[exclude](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning)
the file from analysis.
```

seen in https://github.com/galaxyproject/galaxy/actions/runs/9170180020/job/25211944475 .
  • Loading branch information
nsoranzo committed May 23, 2024
1 parent 028630a commit 9b70b75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/codeql/codeql-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
paths-ignore:
- 'lib/galaxy/datatypes/test/*.bcsl.ts'
3 changes: 3 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ jobs:
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality

config-file: ./.github/codeql/codeql-config.yml


# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
Expand Down

0 comments on commit 9b70b75

Please sign in to comment.