Skip to content

Commit 3c079b8

Browse files
committed
sast for later
1 parent cb0965b commit 3c079b8

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/build-on-pull-request.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,36 @@ on:
33
pull_request:
44
branches: [master]
55
jobs:
6+
# sast-scan:
7+
# runs-on: ubuntu-latest
8+
# # Skip any PR created by dependabot to avoid permission issues:
9+
# if: (github.actor != 'dependabot[bot]')
10+
# steps:
11+
# - uses: actions/checkout@v5
12+
# - uses: actions/setup-node@v4
13+
# with:
14+
# node-version: "22"
15+
# - run: npm install -g snyk
16+
# - run: snyk config set api=${{ secrets.SNYK_API_KEY }}
17+
# - run: snyk code test src/main
18+
malware-scan:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v5
22+
- name: Malware Scanner # https://github.com/dell/common-github-actions/blob/main/malware-scanner/README.md
23+
uses: dell/common-github-actions/malware-scanner@main
24+
with:
25+
directories: .
26+
options: -ri
627
build-and-test:
728
runs-on: ubuntu-latest
829
steps:
930
- uses: actions/checkout@v5
31+
- name: Malware Scanner # https://github.com/dell/common-github-actions/blob/main/malware-scanner/README.md
32+
uses: dell/common-github-actions/malware-scanner@main
33+
with:
34+
directories: .
35+
options: -ri
1036
- name: Set up JDK 8 for x64
1137
uses: actions/setup-java@v4
1238
with:

0 commit comments

Comments
 (0)