Skip to content

Commit

Permalink
Add suppression for .png file
Browse files Browse the repository at this point in the history
  • Loading branch information
federicobucchi committed Nov 20, 2024
1 parent e92553d commit eb2e2fa
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,14 @@ jobs:
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
extraction-options: >
{
"exclude": [
"**/*.ico",
"**/*.png",
"**/servicetalk-docs-gen.ipr"
]
}
- name: Clean Gradle project
run: ./gradlew --parallel clean
- name: Assemble Gradle project
Expand Down
4 changes: 4 additions & 0 deletions servicetalk-concurrent-api/gradle/checkstyle/suppressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
<suppressions>
<suppress checks="LineLength"
files="docs[\\/]modules[\\/]ROOT[\\/]assets[\\/]images[\\/].+\.svg"/>
<suppress checks="LineLength"
files="docs[\\/]generation[\\/]supplemental-ui[\\/].+\.ico"/>
<suppress checks="LineLength"
files="docs[\\/]generation[\\/]supplemental-ui[\\/]img[\\/].+\.src"/>
<!-- mapOnError supports re-throwing a Throwable from onError(Throwable) -->
<suppress checks="IllegalThrowsCheck" files="io[\\/]servicetalk[\\/]concurrent[\\/]api[\\/]ScanWithMapper.java"/>
<suppress checks="IllegalThrowsCheck" files="io[\\/]servicetalk[\\/]concurrent[\\/]api[\\/]ScanMapper.java"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class ServiceTalkCorePlugin implements Plugin<Project> {
source = fileTree(".") {
includes = ["gradle/**", "*.gradle", "*.properties", "scripts/**", "buildSrc/**", "docs/**"]
excludes = ["**/gradle/wrapper/**", "**/build/**", "**/.gradle/**", "**/gradlew*", "**/.cache/**",
"**/*.svg", "**/.out/**", "**/node_modules/**", "**/*.png", "**/*.zip"]
"**/*.svg", "**/.out/**", "**/node_modules/**", "**/*.png", "**/*.ico", "**/*.zip", "**/servicetalk-docs-gen.ipr"]
}
}

Expand Down

0 comments on commit eb2e2fa

Please sign in to comment.