Skip to content

Commit 8a22677

Browse files
committed
little fixes
Signed-off-by: Julio Jimenez <julio@clickhouse.com>
1 parent 40754ab commit 8a22677

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
# Once this repository is public, move this workflow to security-integrations
2-
on: [push]
32
name: Test ClickBOM Action
3+
on: [push]
44

55
jobs:
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

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ on:
3939

4040
jobs:
4141
clickbom:
42+
name: ClickBOM
4243
runs-on: ubuntu-latest
4344

4445
permissions:

entrypoint.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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"

0 commit comments

Comments
 (0)