Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.25 KB

ci.md

File metadata and controls

23 lines (16 loc) · 1.25 KB

CI usage

ReleaseCheck is suitable for CI when a workflow needs deterministic evidence about a published npm or PyPI release. Use the JSON or SARIF output for automation and choose a policy for MATCH, REVIEW, INCOMPLETE, and operational failures that matches the repository's risk tolerance.

The core CLI must be installed from a pinned release or built from a reviewed revision. Do not download an unpinned binary in a security-sensitive workflow. The official GitHub Action provides checksum-verified acquisition of a released core binary for Ubuntu, macOS, and Windows runners. The example uses @main for readability; pin a reviewed full commit SHA in a real workflow. A released core binary is required for the Action to run end to end.

ReleaseCheck does not install the package under inspection and does not execute package lifecycle scripts or build backends.

Example

- name: Verify published release
  uses: ReleaseCheck/releasecheck-action@main
  with:
    ecosystem: npm
    package: example-package
    releasecheck-version: 0.1.2
    format: sarif
    output: releasecheck.sarif

Pin the Action to a reviewed commit or release tag in production, and keep the core version explicit.