Merge branch 'trunk' into dependabot/go_modules/golang.org/x/crypto-0.40.0

This commit is contained in:
Andy Feller 2025-07-14 09:48:27 -04:00
commit a83db41a58
2 changed files with 20 additions and 4 deletions

View file

@ -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 }}"

View file

@ -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: