updated GH actions, Blackduck scans (#498)
This commit is contained in:
committed by
GitHub
parent
c72ea839b4
commit
cb96d2d5e3
16
.github/workflows/blackduck.yml
vendored
16
.github/workflows/blackduck.yml
vendored
@@ -1,20 +1,20 @@
|
||||
name: Blackduck
|
||||
name: Blackduck Intelligent Scan
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- CEC-4882-off-main
|
||||
schedule:
|
||||
# run scans twice a month
|
||||
- cron: '0 2 1,15 * *'
|
||||
|
||||
jobs:
|
||||
blackduck:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '16'
|
||||
node-version: '20'
|
||||
cache: npm
|
||||
|
||||
- run: npm install
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
|
||||
- name: Run Synopsys Detect INTELLIGENT
|
||||
run: |
|
||||
bash <(curl -s -L https://detect.synopsys.com/detect8.sh) \
|
||||
bash <(curl -s -L https://detect.synopsys.com/detect9.sh) \
|
||||
--blackduck.url=${{ secrets.BLACKDUCK_URL }} \
|
||||
--blackduck.api.token=${{ secrets.BLACKDUCK_API_KEY }} \
|
||||
--blackduck.trust.cert=true \
|
||||
|
||||
Reference in New Issue
Block a user