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

ci(CodeQL): add config #521

Merged
merged 2 commits into from
Jun 23, 2022
Merged

ci(CodeQL): add config #521

merged 2 commits into from
Jun 23, 2022

Conversation

kanadgupta
Copy link
Member

@kanadgupta kanadgupta commented Jun 23, 2022

🧰 Changes

This adds a config file per GitHub's docs so CodeQL ignores our test files.

🧬 QA & Testing

Does CodeQL pass and do the changes look sound?

@kanadgupta kanadgupta added the enhancement New feature or request label Jun 23, 2022
@kanadgupta kanadgupta marked this pull request as ready for review June 23, 2022 16:57
@kanadgupta kanadgupta requested a review from erunion June 23, 2022 16:57
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql/config.yml
languages: javascript
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per their docs this can be simplified so I just removed the matrix.

@kanadgupta kanadgupta merged commit 6dc896c into main Jun 23, 2022
@kanadgupta kanadgupta deleted the codeql-config branch June 23, 2022 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants