-
Notifications
You must be signed in to change notification settings - Fork 451
CI: Configure Python analysis #3112
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
Changes from 5 commits
793fe17
73ead84
61b8b63
8105843
bce0fa7
1069ace
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -95,7 +95,7 @@ jobs: | |
| id: init | ||
| with: | ||
| languages: javascript | ||
| config-file: ./.github/codeql/codeql-config.yml | ||
| config-file: ./.github/codeql/codeql-config-javascript.yml | ||
| tools: ${{ matrix.tools }} | ||
| # confirm steps.init.outputs.codeql-path points to the codeql binary | ||
| - name: Print CodeQL Version | ||
|
|
@@ -107,13 +107,17 @@ jobs: | |
| uses: ./analyze | ||
| with: | ||
| category: "/language:javascript" | ||
| upload: ${{ matrix.os == 'ubuntu-24.04' && matrix.tools == '' && 'always' || 'never' }} | ||
|
|
||
|
|
||
| analyze-actions: | ||
| analyze-other: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - language: actions | ||
| - language: python | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
@@ -125,9 +129,15 @@ jobs: | |
| - name: Initialize CodeQL | ||
| uses: ./init | ||
| with: | ||
| languages: actions | ||
| config-file: ./.github/codeql/codeql-actions-config.yml | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. IMHO we should keep this and make it part of the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think since we don't yet have anything that needs to be language specific, it might be more readable to have a single |
||
| languages: ${{ matrix.language }} | ||
| build-mode: none | ||
| config: > | ||
| paths-ignore: | ||
| - lib | ||
| - tests | ||
| queries: | ||
| - uses: security-and-quality | ||
| - name: Perform CodeQL Analysis | ||
| uses: ./analyze | ||
| with: | ||
| category: "/language:actions" | ||
| category: "/language:${{ matrix.language }}" | ||
Uh oh!
There was an error while loading. Please reload this page.