Skip to content

ci: Bump actions/attest-build-provenance from 4.1.1 to 4.2.2 - #48

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/attest-build-provenance-4.2.2
Closed

ci: Bump actions/attest-build-provenance from 4.1.1 to 4.2.2#48
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/actions/attest-build-provenance-4.2.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 10, 2026

Copy link
Copy Markdown
Contributor

Bumps actions/attest-build-provenance from 4.1.1 to 4.2.2.

Release notes

Sourced from actions/attest-build-provenance's releases.

v4.2.2

[!NOTE] 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.

What's Changed

Full Changelog: actions/attest-build-provenance@v4.1.1...v4.2.2

Commits
  • 4d10147 Bump actions/attest from 4.2.0 to 4.2.1 in the actions-minor group (#862)
  • e3fe62e Bump the actions-minor group with 2 updates (#860)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) from 4.1.1 to 4.2.2.
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](actions/attest-build-provenance@0f67c3f...4d10147)

---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
  dependency-version: 4.2.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Aug 10, 2026
@dependabot
dependabot Bot requested a review from Reefact as a code owner August 10, 2026 10:59
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Aug 10, 2026
Reefact pushed a commit that referenced this pull request Aug 12, 2026
Pins 4d101475d8b20a2381f78447822ac1eab6504dd8, checked against the GitHub
API as the commit the v4.2.2 tag points at — the one thing worth
verifying by hand on a pinned action, since a SHA that does not match the
tag beside it is what a compromise would look like.

Since v4 the action is a wrapper over actions/attest, and the whole
change is its inner pin, 4.1.1 to 4.2.1, itself a SHA, so the chain stays
verifiable end to end. The inputs are unchanged: subject-path, which this
workflow passes artifacts/*.nupkg, is still there, and id-token: write
with attestations: write are still the permissions it asks for.

What moved is inside actions/attest: reading subjects from
GITHUB_ARTIFACTS_LIST, SHA-2 subject digests, a line-ending fix for
checksums on Windows, and stripping the OCI tag when pushing an
attestation to a registry, which this workflow does not do.

Carried here rather than merged from #48 because a Dependabot pull
request cannot pass this repository's required Sonar check: the run gets
the dependabot secret scope, so sonar.token arrives empty and the
scanner exits 1. The workflow's own guard anticipates a fork, whose head
repository differs; Dependabot's branch is in this repository, so the
guard lets it through to fail on the missing secret instead.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

Reefact commented Aug 12, 2026

Copy link
Copy Markdown
Owner

Closing: the bump this proposes is on main as of #76 (50f0d4b), byte for byte — actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2. The SHA was checked against the GitHub API as the commit the v4.2.2 tag points at before it was carried over.

It was moved rather than merged because this pull request cannot pass the required SonarQube Cloud analysis check, for a reason unrelated to its content:

The format of the analysis property sonar.token= is invalid
##[error]Process completed with exit code 1.

GitHub serves Dependabot-triggered runs a separate dependabot secret scope, so secrets.SONAR_TOKEN arrives empty. .github/workflows/sonar.yml guards the case it anticipated —

# A pull request from a fork cannot read SONAR_TOKEN, so the analysis would fail for a reason
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository

— but a Dependabot branch lives in this repository, so head.repo.full_name == github.repository holds, the job runs, and it fails on the missing secret instead. The guard covers forks; it does not cover Dependabot.

That is structural rather than particular to this pull request: no Dependabot pull request can be merged while that check is required. Tracked as its own piece of work — the fix is not one line, since a skipped job reports no check at all and a required check that never reports blocks a merge just as a failing one does.


Generated by Claude Code

@Reefact Reefact closed this Aug 12, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 12, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/github_actions/actions/attest-build-provenance-4.2.2 branch August 12, 2026 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant