forked from openshift/cloud-provider-nutanix
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (29 loc) · 906 Bytes
/
synopsys.yaml
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
name: Black Duck Policy Check
on:
pull_request_target:
push:
branches:
- main
- 'release-*'
jobs:
security:
if: github.repository == 'nutanix-cloud-native/cloud-provider-nutanix'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: "${{ github.event.pull_request.head.sha }}"
- name: Install devbox
run: curl -fsSL https://get.jetpack.io/devbox | bash -s -- -f
- name: Install devbox deps
run: devbox install
- name: Build Project
run: devbox run -- make build
- name: Run Synopsys Detect
uses: synopsys-sig/detect-action@v0.3.4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
detect-version: 8.10.0
blackduck-url: ${{ secrets.BLACKDUCK_URL }}
blackduck-api-token: ${{ secrets.BLACKDUCK_API_TOKEN }}