mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-01-29 09:32:39 +00:00
chore: update global workflows (#2597)
This commit is contained in:
parent
5fcd07ecb1
commit
f0a00ae356
27
.github/workflows/codeql.yml
vendored
27
.github/workflows/codeql.yml
vendored
@ -160,6 +160,10 @@ jobs:
|
|||||||
# yamllint disable-line rule:line-length
|
# yamllint disable-line rule:line-length
|
||||||
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
||||||
# queries: security-extended,security-and-quality
|
# queries: security-extended,security-and-quality
|
||||||
|
config: |
|
||||||
|
paths-ignore:
|
||||||
|
- node_modules
|
||||||
|
- third-party
|
||||||
|
|
||||||
# Pre autobuild
|
# Pre autobuild
|
||||||
# create a file named .codeql-prebuild-${{ matrix.language }}.sh in the root of your repository
|
# create a file named .codeql-prebuild-${{ matrix.language }}.sh in the root of your repository
|
||||||
@ -183,3 +187,26 @@ jobs:
|
|||||||
uses: github/codeql-action/analyze@v3
|
uses: github/codeql-action/analyze@v3
|
||||||
with:
|
with:
|
||||||
category: "/language:${{matrix.language}}"
|
category: "/language:${{matrix.language}}"
|
||||||
|
output: sarif-results
|
||||||
|
upload: failure-only
|
||||||
|
|
||||||
|
- name: filter-sarif
|
||||||
|
uses: advanced-security/filter-sarif@v1
|
||||||
|
with:
|
||||||
|
input: sarif-results/${{ matrix.language }}.sarif
|
||||||
|
output: sarif-results/${{ matrix.language }}.sarif
|
||||||
|
patterns: |
|
||||||
|
-node_modules/**
|
||||||
|
-third\-party/**
|
||||||
|
|
||||||
|
- name: Upload SARIF
|
||||||
|
uses: github/codeql-action/upload-sarif@v3
|
||||||
|
with:
|
||||||
|
sarif_file: sarif-results/${{ matrix.language }}.sarif
|
||||||
|
|
||||||
|
- name: Upload loc as a Build Artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: sarif-results-${{ matrix.language }}-${{ runner.os }}
|
||||||
|
path: sarif-results
|
||||||
|
retention-days: 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user