Skip to content

Conversation

@samypr100
Copy link
Contributor

@samypr100 samypr100 commented Oct 30, 2025

When #2134 fixed the issues reported by zizmor from astral-sh/uv#11357 were merged, the attestation permissions were no longer at the root level of the release workflow as they previously were traditionally. This introduced a side-effect of needing to have a mechanism to differentiate between attesting in host vs announce phase to know where to add the permissions.

This PR provides support when github-release = "announce" is set, and you needed to attest in the host phase. You can now explicitly set the attest phase to announce via github-attestations-phase = "announce" to ensure the permissions are correct.

@samypr100 samypr100 force-pushed the support-attestations-announce branch 3 times, most recently from 94193ab to 07f7312 Compare October 30, 2025 23:04
@samypr100 samypr100 marked this pull request as ready for review October 30, 2025 23:09
@samypr100 samypr100 force-pushed the support-attestations-announce branch from 07f7312 to 0c55f28 Compare October 30, 2025 23:17
@Gankra
Copy link
Contributor

Gankra commented Oct 31, 2025

Looks great!

@Gankra Gankra changed the base branch from main to stable October 31, 2025 01:13
@Gankra Gankra force-pushed the support-attestations-announce branch from 0c55f28 to 9f44e6d Compare October 31, 2025 01:17
@Gankra
Copy link
Contributor

Gankra commented Oct 31, 2025

I've rebased it but FYI the "real" main branch of this repo rn is actually the "stable" one -- it's on my TODO list to swap main and stable (current main was for a now defunct 1.0.0 push).

@Gankra Gankra merged commit 40e72fe into axodotdev:stable Oct 31, 2025
17 checks passed
@samypr100
Copy link
Contributor Author

Good to know

@samypr100 samypr100 deleted the support-attestations-announce branch October 31, 2025 01:55
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.

2 participants