Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use custom config for CodeQL #68

Merged
merged 1 commit into from
Feb 2, 2024
Merged

Use custom config for CodeQL #68

merged 1 commit into from
Feb 2, 2024

Conversation

juxtin
Copy link
Contributor

@juxtin juxtin commented Feb 2, 2024

Based on actions/dependency-review-action#678

We now have CodeQL running on this repository, but it's reporting failures in the generated JavaScript. AFAICT, these alerts are not based on any TypeScript code that we can actually change, so I think the right move is to exclude the generated JavaScript files from Code Scanning and rely on the TypeScript coverage to generate alerts that are actually actionable.

I based this config on the auto-generated one, but I removed a few things like Swift and Ruby matrix items and MacOS builds.

Ultimately the whole point of this is really this section:

          paths-ignore: 
            - dist/index.js
            - dist/sourcemap-register.js

@juxtin juxtin requested a review from a team as a code owner February 2, 2024 00:02
@juxtin juxtin merged commit b796b3e into main Feb 2, 2024
3 checks passed
@juxtin juxtin deleted the juxtin/custom-codeql-config branch February 2, 2024 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants