Merge branch 'trunk' into dependabot/go_modules/golang.org/x/crypto-0.40.0
This commit is contained in:
commit
a83db41a58
2 changed files with 20 additions and 4 deletions
21
.github/workflows/codeql.yml
vendored
21
.github/workflows/codeql.yml
vendored
|
|
@ -38,12 +38,25 @@ jobs:
|
|||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
queries: security-and-quality
|
||||
config: |
|
||||
paths-ignore:
|
||||
- 'third-party/**'
|
||||
- 'third-party-licenses.*.md'
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3
|
||||
with:
|
||||
category: "/language:${{ matrix.language }}"
|
||||
upload: false
|
||||
output: sarif-results
|
||||
|
||||
- name: Filter SARIF for third-party code
|
||||
if: matrix.language == 'go'
|
||||
uses: advanced-security/filter-sarif@bc96d9fb9338c5b48cc440b1b4d0a350b26a20db # v1.0.0
|
||||
with:
|
||||
patterns: |
|
||||
-third-party/**
|
||||
input: sarif-results/${{ matrix.language }}.sarif
|
||||
output: sarif-results/${{ matrix.language }}.sarif
|
||||
|
||||
- name: Upload filtered SARIF
|
||||
uses: github/codeql-action/upload-sarif@v3
|
||||
with:
|
||||
sarif_file: sarif-results/${{ matrix.language }}.sarif
|
||||
category: "/language:${{ matrix.language }}"
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@ linters:
|
|||
# set, and we should have separate work to enable them if we truly want them.
|
||||
- staticcheck
|
||||
- errcheck
|
||||
exclusions:
|
||||
paths:
|
||||
- third-party
|
||||
|
||||
formatters:
|
||||
enable:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue