Skip to content

Commit e53c98b

Browse files
authored
Merge branch 'master' into revert-types
2 parents 9d8bd48 + cd25003 commit e53c98b

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ concurrency:
2323

2424
jobs:
2525
analyze:
26-
name: Analyze
26+
name: Check for Vulnerabilities
2727
runs-on: ubuntu-latest
2828

2929
strategy:

.github/workflows/snyk.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
- cron: "30 0 1,15 * *"
1414

1515
permissions:
16+
security-events: write
17+
actions: read
1618
contents: read
1719

1820
concurrency:
@@ -41,6 +43,14 @@ jobs:
4143
with:
4244
ref: ${{ github.event.pull_request.head.sha || github.ref }}
4345

44-
- uses: snyk/actions/php@b98d498629f1c368650224d6d212bf7dfa89e4bf # pin@0.4.0
46+
- uses: snyk/actions/python-3.7@b98d498629f1c368650224d6d212bf7dfa89e4bf # pin@0.4.0
47+
continue-on-error: true # Make sure the SARIF upload is called
4548
env:
4649
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
50+
with:
51+
args: --sarif-file-output=snyk.sarif
52+
53+
- name: Upload result to GitHub Code Scanning
54+
uses: github/codeql-action/upload-sarif@v2
55+
with:
56+
sarif_file: snyk.sarif

0 commit comments

Comments
 (0)