File tree Expand file tree Collapse file tree 5 files changed +35
-5
lines changed
Expand file tree Collapse file tree 5 files changed +35
-5
lines changed Original file line number Diff line number Diff line change 55 runs-on : ubuntu-24.04
66 name : Analyze a Docker image
77 steps :
8- - uses : nexB/scancode-action@alpha
8+ - name : Get the action.yml from the current branch
9+ uses : actions/checkout@v4
10+ with :
11+ sparse-checkout : action.yml
12+ sparse-checkout-cone-mode : false
13+
14+ - uses : ./
915 with :
1016 pipelines : " analyze_docker_image"
1117 input-urls :
Original file line number Diff line number Diff line change 55 runs-on : ubuntu-24.04
66 name : Scan codebase and look for vulnerabilities
77 steps :
8+ - name : Get the action.yml from the current branch
9+ uses : actions/checkout@v4
10+ with :
11+ sparse-checkout : action.yml
12+ sparse-checkout-cone-mode : false
13+
814 - uses : actions/checkout@v4
915 with :
1016 path : scancode-inputs
11- - uses : nexB/scancode-action@alpha
17+ - uses : ./
1218 with :
1319 pipelines : " scan_codebase,find_vulnerabilities"
1420 env :
Original file line number Diff line number Diff line change 55 runs-on : ubuntu-24.04
66 name : Map deploy to develop
77 steps :
8- - uses : nexB/scancode-action@alpha
8+ - name : Get the action.yml from the current branch
9+ uses : actions/checkout@v4
10+ with :
11+ sparse-checkout : action.yml
12+ sparse-checkout-cone-mode : false
13+
14+ - uses : ./
915 with :
1016 pipelines : " map_deploy_to_develop"
1117 input-urls :
Original file line number Diff line number Diff line change 55 runs-on : ubuntu-24.04
66 name : Scan codebase and check for compliance issues
77 steps :
8+ - name : Get the action.yml from the current branch
9+ uses : actions/checkout@v4
10+ with :
11+ sparse-checkout : action.yml
12+ sparse-checkout-cone-mode : false
13+
814 - uses : actions/checkout@v4
915 with :
1016 path : scancode-inputs
1117 - name : Run scancode-action from current branch
12- uses : ./scancode-inputs
18+ uses : ./
1319 with :
1420 pipelines : " scan_codebase"
1521 check-compliance : true
Original file line number Diff line number Diff line change 55 runs-on : ubuntu-24.04
66 name : Scan a package source archive
77 steps :
8+ - name : Get the action.yml from the current branch
9+ uses : actions/checkout@v4
10+ with :
11+ sparse-checkout : action.yml
12+ sparse-checkout-cone-mode : false
13+
814 - name : Download repository archive to scancode-inputs/ directory
915 run : |
1016 wget --directory-prefix=scancode-inputs https://github.com/${GITHUB_REPOSITORY}/archive/${GITHUB_REF}.zip
11- - uses : nexB/scancode-action@alpha
17+ - uses : ./
1218 with :
1319 pipelines : " scan_single_package"
You can’t perform that action at this time.
0 commit comments