Skip to content

Commit feb3bd5

Browse files
sca-scan.yml
1 parent 463102b commit feb3bd5

1 file changed

Lines changed: 8 additions & 12 deletions

File tree

‎.github/workflows/sca-scan.yml‎

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,17 @@ on:
55
jobs:
66
security-sca:
77
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
10+
pull-requests: write
811
steps:
912
- uses: actions/checkout@master
10-
- name: Set up JDK 17
11-
uses: actions/setup-java@v4
12-
with:
13-
distribution: 'temurin'
14-
java-version: '17'
15-
- name: Setup local.properties
16-
run: |
17-
cat << EOF >> local.properties
18-
sdk.dir=$ANDROID_HOME
19-
EOF
2013
- name: Run Snyk to check for vulnerabilities
21-
uses: snyk/actions/setup@master
14+
uses: snyk/actions/gradle@master
2215
env:
2316
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
2417
with:
25-
args: --fail-on=all --all-sub-projects
18+
args: --fail-on=all --all-sub-projects
19+
json: true
20+
continue-on-error: true
21+
- uses: contentstack/sca-policy@main

0 commit comments

Comments
 (0)