Skip to content

Prepare v4 release#835

Merged
bdehamer merged 1 commit intomainfrom
bdehamer/v4
Feb 25, 2026
Merged

Prepare v4 release#835
bdehamer merged 1 commit intomainfrom
bdehamer/v4

Conversation

@bdehamer
Copy link
Copy Markdown
Collaborator

Updates the action.yml so that this action is now simply a pass-through to actions/attest. The actions/attest action now exposes all of the capabilities previously spread across actions/attest-build-provenance and actions/attest-sbom.

The major version bump here reflects the fact that the underlying implementation has fundamentally changed, but this should be backward-compatible for anyone using v3.x of this action.

@bdehamer bdehamer requested a review from a team as a code owner February 25, 2026 21:12
Copilot AI review requested due to automatic review settings February 25, 2026 21:12
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR performs a major architectural refactoring of actions/attest-build-provenance for v4, converting it from a standalone TypeScript action into a lightweight composite action wrapper around actions/[email protected]. The change consolidates attestation functionality into the actions/attest action while maintaining backward compatibility for existing users.

Changes:

  • Removed all TypeScript source code, tests, build configurations, and dependencies
  • Converted action.yml from a Node.js action to a composite action that passes inputs through to actions/[email protected]
  • Added new optional inputs (predicate-type, predicate, predicate-path) to support custom attestations in addition to build provenance
  • Updated documentation to guide users toward actions/attest for new implementations

Reviewed changes

Copilot reviewed 19 out of 24 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
action.yml Converted to composite action wrapping actions/[email protected]; added new predicate inputs and storage-record-ids output
README.md Updated to indicate v4 is a wrapper and direct users to actions/attest for new implementations
src/main.ts, src/index.ts Removed TypeScript source code (no longer needed)
predicate/action.yml Removed internal predicate action (functionality now in actions/attest)
package.json, package-lock.json Removed Node.js dependencies (no longer a TypeScript action)
tsconfig.json, tsconfig.lint.json Removed TypeScript configurations
eslint.config.mjs, .prettierrc.json, .prettierignore, .markdown-lint.yml Removed linting and formatting configs
jest.setup.js, tests/* Removed unit tests (integration test remains in CI)
dist/* Removed bundled JavaScript (no longer needed for composite action)
.node-version Removed Node.js version specification
.github/workflows/ci.yml Simplified to remove TypeScript tests, kept integration test
.github/workflows/codeql-analysis.yml, .github/workflows/check-dist.yml Removed workflows no longer needed without TypeScript code

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
Comment thread action.yml
Signed-off-by: Brian DeHamer <[email protected]>
Copy link
Copy Markdown
Contributor

@tingx2wang tingx2wang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@bdehamer bdehamer merged commit e4d4f7c into main Feb 25, 2026
1 check passed
@bdehamer bdehamer deleted the bdehamer/v4 branch February 25, 2026 22:38
@josegonzalez
Copy link
Copy Markdown

Is the migration as simple as replacing actions/attest-build-provenance with actions/attest in our workflows, or is there more work to be done to migrate?

kristentr added a commit to kristentr/attest-build-provenance that referenced this pull request Mar 3, 2026
* Add CodeQL analysis workflow configuration

* Add CodeQL analysis workflow configuration

* prepare v4 release (actions#835)

Signed-off-by: Brian DeHamer <[email protected]>

* update RELEASE.md docs (actions#836)

Signed-off-by: Brian DeHamer <[email protected]>

* bump actions/attest from 4.0.0 to 4.1.0 (actions#838)

Signed-off-by: Brian DeHamer <[email protected]>

* remove prober workflows (actions#837)

Signed-off-by: Brian DeHamer <[email protected]>

* Add commands to create and update actions-main branch

Signed-off-by: Kristen T. Tran <[email protected]>

---------

Signed-off-by: Brian DeHamer <[email protected]>
Signed-off-by: Kristen T. Tran <[email protected]>
Co-authored-by: Brian DeHamer <[email protected]>
kristentr added a commit to kristentr/attest-build-provenance that referenced this pull request Mar 9, 2026
* prepare v4 release (actions#835)

Signed-off-by: Brian DeHamer <[email protected]>

* update RELEASE.md docs (actions#836)

Signed-off-by: Brian DeHamer <[email protected]>

* bump actions/attest from 4.0.0 to 4.1.0 (actions#838)

Signed-off-by: Brian DeHamer <[email protected]>

* remove prober workflows (actions#837)

Signed-off-by: Brian DeHamer <[email protected]>

* remove badges from README (actions#840)

Signed-off-by: Brian DeHamer <[email protected]>

---------

Signed-off-by: Brian DeHamer <[email protected]>
Co-authored-by: Brian DeHamer <[email protected]>
kristentr added a commit to kristentr/attest-build-provenance that referenced this pull request Mar 9, 2026
* prepare v4 release (actions#835)

Signed-off-by: Brian DeHamer <[email protected]>

* update RELEASE.md docs (actions#836)

Signed-off-by: Brian DeHamer <[email protected]>

* bump actions/attest from 4.0.0 to 4.1.0 (actions#838)

Signed-off-by: Brian DeHamer <[email protected]>

* remove prober workflows (actions#837)

Signed-off-by: Brian DeHamer <[email protected]>

* remove badges from README (actions#840)

Signed-off-by: Brian DeHamer <[email protected]>

---------

Signed-off-by: Brian DeHamer <[email protected]>
Co-authored-by: Brian DeHamer <[email protected]>
kristentr added a commit to kristentr/attest-build-provenance that referenced this pull request Mar 9, 2026
* prepare v4 release (actions#835)

Signed-off-by: Brian DeHamer <[email protected]>

* update RELEASE.md docs (actions#836)

Signed-off-by: Brian DeHamer <[email protected]>

* bump actions/attest from 4.0.0 to 4.1.0 (actions#838)

Signed-off-by: Brian DeHamer <[email protected]>

* remove prober workflows (actions#837)

Signed-off-by: Brian DeHamer <[email protected]>

* Kristentr patch 1 (#24)

* Add CodeQL analysis workflow configuration

* Add CodeQL analysis workflow configuration

* prepare v4 release (actions#835)

Signed-off-by: Brian DeHamer <[email protected]>

* update RELEASE.md docs (actions#836)

Signed-off-by: Brian DeHamer <[email protected]>

* bump actions/attest from 4.0.0 to 4.1.0 (actions#838)

Signed-off-by: Brian DeHamer <[email protected]>

* remove prober workflows (actions#837)

Signed-off-by: Brian DeHamer <[email protected]>

* Add commands to create and update actions-main branch

Signed-off-by: Kristen T. Tran <[email protected]>

---------

Signed-off-by: Brian DeHamer <[email protected]>
Signed-off-by: Kristen T. Tran <[email protected]>
Co-authored-by: Brian DeHamer <[email protected]>

* remove badges from README (actions#840)

Signed-off-by: Brian DeHamer <[email protected]>

* Add ESLint workflow for code analysis

This workflow runs ESLint to analyze JavaScript code and uploads the results in SARIF format.

* merge commit updates (#30)

* prepare v4 release (actions#835)

Signed-off-by: Brian DeHamer <[email protected]>

* update RELEASE.md docs (actions#836)

Signed-off-by: Brian DeHamer <[email protected]>

* bump actions/attest from 4.0.0 to 4.1.0 (actions#838)

Signed-off-by: Brian DeHamer <[email protected]>

* remove prober workflows (actions#837)

Signed-off-by: Brian DeHamer <[email protected]>

* remove badges from README (actions#840)

Signed-off-by: Brian DeHamer <[email protected]>

---------

Signed-off-by: Brian DeHamer <[email protected]>
Co-authored-by: Brian DeHamer <[email protected]>

* Add CodeQL analysis workflow configuration (#33)

---------

Signed-off-by: Brian DeHamer <[email protected]>
Signed-off-by: Kristen T. Tran <[email protected]>
Co-authored-by: Brian DeHamer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants