Skip to content

Add attestation permissions to publish-rust workflow#162

Merged
lorisleiva merged 1 commit into
mainfrom
loris/publish-rust-attestation-permissions
Jun 17, 2026
Merged

Add attestation permissions to publish-rust workflow#162
lorisleiva merged 1 commit into
mainfrom
loris/publish-rust-attestation-permissions

Conversation

@lorisleiva

Copy link
Copy Markdown
Member

This PR adds attestations: write and artifact-metadata: write to the main job of the publish-rust.yml caller workflow. The reusable publish-rust.yml workflow in solana-program/actions declares these permissions on its publish job to generate SLSA provenance attestations, but since a called workflow cannot be granted more permissions than its caller, they were being silently dropped and the attestation step failed during publishing. This was validated on token-2022 first and is now being rolled out across the fleet.

@lorisleiva lorisleiva merged commit f39c246 into main Jun 17, 2026
29 checks passed
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.

1 participant