0disoft/Ohrisk

Catch open-source license risk in GitHub Actions.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 12, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: 0disoft/ohrisk@98eb05382f32375a614a625c1a35ce09654ee364 # v1.2.1

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
versionBundled CLI version assertion. Use bundled or the exact CLI version shipped with this action.nobundled
node-versionNode.js version used by the bundled Ohrisk CLI.no24
setup-nodeBoolean string controlling whether actions/setup-node runs.notrue
commandOhrisk command to run: scan, ci, or diff.noci
baseline-refGit baseline ref required by command=diff.no""
profileRisk profile: saas or distributed-app.nosaas
prodExclude development-only dependencies.notrue
fail-onOptional high, unknown, review, or low threshold for ohrisk ci or ohrisk diff. The CLI ci default remains high when empty.no""
lockfileSupported repository-relative lockfile path to scan.no""
archiveRepository-relative ZIP, TAR, TAR.GZ, or TGZ project archive to scan without extracting it.no""
allDiscover and merge every supported lockfile at the selected project root.nofalse
policyRepository-relative Ohrisk policy file path.no""
formatReport format: text, json, sarif, markdown, html, or cyclonedx.notext
outputRepository-relative report output path.no""
no-waiversIgnore local .ohrisk-waivers.json files.nofalse
strict-waiversFail when local waivers are expired or unmatched.nofalse
allow-partial-evidenceAllow command=ci to pass when package evidence or repository coverage is incomplete.nofalse
offlineDisable remote evidence requests and use only local evidence or cache entries.nofalse
cachePersist the Ohrisk artifact cache between workflow runs with actions/cache.nofalse
cache-dirRepository-relative persistent artifact cache directory.no""
jobsEvidence collection concurrency from 1 to 64.no""
timeoutPer-request timeout such as 30s or 2m.no""
registry-urlHTTPS npm-compatible registry URL.no""
registry-token-envEnvironment variable name containing a bearer token for registry-url.no""
allow-hostsComma- or newline-separated DNS hostnames explicitly allowed for artifact fetching.no""
namedescription
report-pathReport output path when the output input is set.
cache-hitExact-match result from the persistent artifact cache restore.