Skip to content

Commit 793d05e

Browse files
committed
test: Improvements to CI Workflows
1 parent d1097e7 commit 793d05e

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Snyk
22

33
on:
44
merge_group:
5-
pull_request_target:
5+
pull_request:
66
types:
77
- opened
88
- synchronize
@@ -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,13 @@ jobs:
4143
with:
4244
ref: ${{ github.event.pull_request.head.sha || github.ref }}
4345

44-
- uses: snyk/actions/php@b98d498629f1c368650224d6d212bf7dfa89e4bf # [email protected]
46+
- uses: snyk/actions/python-3.7@b98d498629f1c368650224d6d212bf7dfa89e4bf # [email protected]
4547
env:
4648
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
49+
with:
50+
args: --sarif-file-output=snyk.sarif
51+
52+
- name: Upload result to GitHub Code Scanning
53+
uses: github/codeql-action/upload-sarif@v2
54+
with:
55+
sarif_file: snyk.sarif

0 commit comments

Comments
 (0)