updated GH actions, Blackduck scans (#498)

This commit is contained in:
Mary Milasheuskaya
2024-01-26 15:29:04 -08:00
committed by GitHub
parent c72ea839b4
commit cb96d2d5e3
6 changed files with 50 additions and 50 deletions

View File

@@ -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 \