Skip to content

Commit 2fa1a27

Browse files
authored
Update sca-scan.yml
1 parent e8f1ff7 commit 2fa1a27

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

.github/workflows/sca-scan.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,15 @@
11
name: Source Composition Analysis Scan
22
on:
33
pull_request:
4-
types: [ opened, synchronize, reopened ]
4+
types: [opened, synchronize, reopened]
55
jobs:
66
security:
77
runs-on: ubuntu-latest
8-
98
steps:
109
- uses: actions/checkout@master
11-
- name: Generate local.properties
12-
run: echo "sdk.dir=${ANDROID_SDK_ROOT}" > local.properties
13-
- name: cat
14-
run: cat local.properties
15-
- name: pwd
16-
run: pwd
17-
- name: env
18-
run: env
1910
- name: Run Snyk to check for vulnerabilities
2011
uses: snyk/actions/gradle@master
2112
env:
2213
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
2314
with:
24-
args: --fail-on=all
25-
command: test || ls
26-
15+
args: --fail-on=all --all-sub-projects

0 commit comments

Comments
 (0)