2 Commits
3 changed files with 8 additions and 4 deletions

No files matched your search

+3 -3
View File
@@ -58,9 +58,9 @@ to the images they name, or wherever the package appears. The repo's complete
set each run; a removed statement withdraws its decisions. A rejected file
(invalid JSON, `not_affected` without justification or reason) fails the job.
## `osv-followup` — weekly advisories to Claude, monthly re-check (v2.4)
## `osv-followup` — weekly advisories to Claude, monthly re-check (v2.4.1)
`uses: https://git.janhouse.lv/janhouse/sbom-tools-action/[email protected]`
`uses: https://git.janhouse.lv/janhouse/sbom-tools-action/[email protected].1`
is the follow-up half of `scan`: `scan` reports, `osv-followup` gets every
advisory decided.
@@ -142,7 +142,7 @@ jobs:
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: https://git.janhouse.lv/janhouse/sbom-tools-action/[email protected]
- uses: https://git.janhouse.lv/janhouse/sbom-tools-action/[email protected].1
with:
mode: ${{ (inputs.recheck == true || inputs.recheck == 'true') && 'recheck' || 'auto' }}
recheck-cron: '47 6 1 * *'
+1 -1
View File
@@ -22,7 +22,7 @@ author: 'janhouse'
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: https://git.janhouse.lv/janhouse/sbom-tools-action/[email protected]
# - uses: https://git.janhouse.lv/janhouse/sbom-tools-action/[email protected].1
# with:
# mode: ${{ (inputs.recheck == true || inputs.recheck == 'true') && 'recheck' || 'auto' }}
# recheck-cron: '47 6 1 * *'
+4
View File
@@ -104,6 +104,10 @@ runs:
CONTAINER_IMAGE: ${{ inputs.container-image }}
CONTAINER_SKIP: ${{ inputs.container-skip-files }}
TRIVY_TIMEOUT: ${{ inputs.trivy-timeout }}
# cyclonedx-cli is .NET: without libicu on the runner (gamer) it aborts with
# "Couldn't find a valid ICU package" (exit 134). It only merges JSON, so
# invariant globalization is all it needs.
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: "1"
run: |
set -euo pipefail
trivy fs "$SCAN_PATH" --quiet --timeout "$TRIVY_TIMEOUT" --format cyclonedx --output source-sbom.json