File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 11# Once this repository is public, move this workflow to security-integrations
2- on : [push]
32name : Test ClickBOM Action
3+ on : [push]
44
55jobs :
66 test_clickbom :
7+ name : Test ClickBOM Action
78 runs-on : ubuntu-latest
9+
810 permissions :
911 id-token : write
1012 contents : read
11- name : Test ClickBOM Action
13+
1214 steps :
1315 - name : Checkout
1416 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 3939
4040jobs :
4141 clickbom :
42+ name : ClickBOM
4243 runs-on : ubuntu-latest
4344
4445 permissions :
Original file line number Diff line number Diff line change @@ -188,11 +188,11 @@ main() {
188188 local cyclonedx_sbom=" $temp_dir /cyclonedx_sbom.json"
189189
190190 # Cleanup function
191- # cleanup() {
192- # log_info "Cleaning up temporary files"
193- # rm -rf "$temp_dir"
194- # }
195- # trap cleanup EXIT
191+ cleanup () {
192+ log_info " Cleaning up temporary files"
193+ rm -rf " $temp_dir "
194+ }
195+ trap cleanup EXIT
196196
197197 # Download SBOM
198198# download_sbom "$REPOSITORY" "$sbom_path" "$ref" "$original_sbom"
You can’t perform that action at this time.
0 commit comments