Skip to content

Commit

Permalink
Delete the generated lint-resources.xml files
Browse files Browse the repository at this point in the history
Because `github/codeql-action/init` logs:

> Java/Kotlin does not support path-based filtering. The `paths`
> and `paths-ignore` configuration properties will have no effect
> for this language. If desired, you can use the
> [advanced-security/filter-sarif Action](https://github.com/advanced-security/filter-sarif)
> to rewrite the SARIF file to exclude alerts from these paths.
  • Loading branch information
pcolby committed Oct 27, 2024
1 parent 7605425 commit 0a35fc3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
config: |
paths-ignore:
- app/build/intermediates
languages: kotlin
- name: Autobuild
uses: github/codeql-action/autobuild@v3
- run: find app/build/intermediates/ -name 'lint-resources.xml' -delete
shell: bash
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

0 comments on commit 0a35fc3

Please sign in to comment.