forked from actions/starter-workflows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
synopsys-action.yml
41 lines (34 loc) · 1.49 KB
/
synopsys-action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Synopsys Security Testing
on:
push:
# At this time, it is recommended to run Polaris only on pushes to main branches
# Pull request analysis will be supported by Polaris in the future
branches: [ $default-branch, $protected-branches ]
pull_request:
branches: [ $default-branch ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Synopsys Action
uses: synopsys-sig/synopsys-action@v1.6.0
with:
#------------------------------------------COVERITY-----------------------------------------
coverity_url: ${{ secrets.COVERITY_URL }}
coverity_user: ${{ secrets.COVERITY_USER }}
coverity_passphrase: ${{ secrets.COVERITY_PASSPHRASE }}
#------------------------------------------BLACKDUCK----------------------------------------
blackduck_token: ${{ secrets.BLACKDUCK_API_TOKEN }}
blackduck_url: ${{ secrets.BLACKDUCK_URL }}
#------------------------------------------POLARIS------------------------------------------
polaris_server_url: ${{ secrets.POLARIS_SERVER_URL }}
polaris_access_token: ${{ secrets.POLARIS_ACCESS_TOKEN }}
polaris_assessment_types: "SCA,SAST"