Action for generating build provenance attestations for workflow artifacts
Go to file
Brian DeHamer 10334b5f1e
Some checks failed
Continuous Integration / Test attest-provenance action (push) Failing after 3s
remove badges from README (#840)
Signed-off-by: Brian DeHamer <bdehamer@github.com>
2026-03-04 15:23:14 -08:00
.github remove prober workflows (#837) 2026-02-27 10:01:25 -08:00
.gitattributes Initial commit 2024-02-20 11:26:39 -08:00
.gitignore reference @actions/attest package (#10) 2024-02-26 14:49:08 -08:00
action.yml bump actions/attest from 4.0.0 to 4.1.0 (#838) 2026-02-26 15:02:14 -08:00
CODEOWNERS add package-security team to CODEOWNERS 2024-02-23 17:15:18 -08:00
LICENSE Initial commit 2024-02-20 11:26:39 -08:00
README.md remove badges from README (#840) 2026-03-04 15:23:14 -08:00
RELEASE.md update RELEASE.md docs (#836) 2026-02-25 16:02:48 -08:00

actions/attest-build-provenance

Generate signed build provenance attestations for workflow artifacts. Internally powered by the @actions/attest package.

Attestations bind some subject (a named artifact along with its digest) to a SLSA build provenance predicate using the in-toto format.

A verifiable signature is generated for the attestation using a short-lived Sigstore-issued signing certificate. If the repository initiating the GitHub Actions workflow is public, the public-good instance of Sigstore will be used to generate the attestation signature. If the repository is private/internal, it will use the GitHub private Sigstore instance.

Once the attestation has been created and signed, it will be uploaded to the GH attestations API and associated with the repository from which the workflow was initiated.

Attestations can be verified using the attestation command in the GitHub CLI.

See Using artifact attestations to establish provenance for builds for more information on artifact attestations.

Note

Artifact attestations are available in public repositories for all current GitHub plans. They are not available on legacy plans, such as Bronze, Silver, or Gold. If you are on a GitHub Free, GitHub Pro, or GitHub Team plan, artifact attestations are only available for public repositories. To use artifact attestations in private or internal repositories, you must be on a GitHub Enterprise Cloud plan.

Usage

As of version 4, actions/attest-build-provenance is simply a wrapper on top of actions/attest.

Existing applications may continue to use the attest-build-provenance action, but new implementations should use actions/attest instead. Please see the actions/attest repository for usage information.

Documentation for previous versions of this action can be found here.