Repository navigation
Conversation
mosuem
force-pushed
the
publish-package-attestations
branch
from
September 24, 2026 07:55
f452aa9 to
b42bcce
Compare
mosuem
force-pushed
the
publish-package-attestations
branch
from
October 8, 2026 09:14
c30400d to
a2a8587
Compare
mosuem
force-pushed
the
publish-package-attestations
branch
from
November 13, 2026 09:35
a2a8587 to
3106072
Compare
With `attest: true`, the `publish` job downloads the `attestation-bundle` artifact produced by the `attest` job and passes it to `dart pub publish --from-archive=... --with-attestation=...`. In test-run mode, the downloaded bundle is checked instead.
mosuem
force-pushed
the
publish-package-attestations
branch
from
November 13, 2026 09:40
3106072 to
2575fbe
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR was generated by an AI coding agent (Jetski) on behalf of @mosuem.
With
attest: true, thepublishjob now downloads theattestation-bundleartifact from theattestjob and passes it todart pub publish --from-archive=… --with-attestation=….Part 2 of 2 for package provenance signing (see go/dart-signed-packages). Stacked on #210, which adds the opt-in
attestinput and computes the attestation. Until #210 lands, only the top commit belongs to this PR.Blocked on pub support
This stays a draft until pub supports attestations end to end.
dart pub publish --with-attestationfails unless both of these hold:--with-attestation). As of 2026-11-13, no SDK channel has it yet:pub_revin the SDKDEPSon main/dev/beta is the commit just before #4876, and stable (3.14.0) is older.attestationUrl(Accept and expose package attestation bundles pub-dev#9545, with verification in Verify uploaded package attestations using package:sigstore pub-dev#9546).Changes
publish.yml:attest: true, downloadattestation-bundleand pass--with-attestation="$RUNNER_TEMP/package.tar.gz.sigstore.json".attest: truealso needs arepositoryfield inpubspec.yaml. pub enforces this when publishing with an attestation.CHANGELOG.md: add an entry.Callers without
attest: truepublish exactly as before.Example caller workflow