File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed
Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change 1+ name : blackduck-scan
2+
3+ concurrency :
4+ group : blackduck-scan-${{ github.ref }}
5+ cancel-in-progress : true
6+
7+ on :
8+ workflow_dispatch :
9+ schedule :
10+ - cron : 0 23 * * *
11+
12+ jobs :
13+ tests :
14+ runs-on : ubuntu-latest
15+ timeout-minutes : 15
16+ steps :
17+ - uses : actions/checkout@v4
18+ - run : git fetch --depth=1
19+ - uses : actions/setup-node@v4
20+ with :
21+ node-version : 22
22+ cache : ' yarn'
23+ - run : yarn install --frozen-lockfile --ignore-engines
24+ - run : sudo apt-get install jq
25+ - run : echo "project_version=LeanIX_Release_2503" >> $GITHUB_ENV
26+ - name : Blackduck Scan
27+ uses : SAP/project-piper-action@27cadf261545552a68660531476c0915a97ee3d8
28+ with :
29+ command : detectExecuteScan
30+ flags : \
31+ --version=$PROJECT_VERSION \
32+ --excludedDirectories=test-packages
33+ env :
34+ PIPER_token : ${{ secrets.BLACKDUCK_TOKEN }}
35+ PROJECT_VERSION : ${{ env.project_version }}
36+ DETECT_TIMEOUT : 6000
37+ DETECT_YARN_EXCLUDED_WORKSPACES : test-packages/**
38+ DETECT_YARN_DEPENDENCY_TYPES_EXCLUDED : NON_PRODUCTION
You can’t perform that action at this time.
0 commit comments