Skip to content

Publish workflow: grant contents: read - #63

Merged
arirusso merged 1 commit into
mainfrom
publish-permissions
Dec 6, 2026
Merged

arirusso merged 1 commit into
mainfrom
publish-permissions

Conversation

@arirusso

@arirusso arirusso commented Dec 6, 2026

Copy link
Copy Markdown
Owner

The v0.1.0 release run failed at checkout with "Repository not found". The job's permissions named only id-token: write, and naming any permission drops the defaults, so it couldn't read the private repo. This adds contents: read. HISTORY notes it.

How I checked: the failed run's log (checkout, "Repository not found", three retries). Not verifiable before a release runs.

Left undone: the release has to be redone from the new main. Re-running the failed run would use the workflow at the old tag.

Naming id-token: write dropped the default permissions, and the first
release run couldn't clone the private repo.

Co-Authored-By: Claude <noreply@anthropic.com>
@arirusso
arirusso merged commit 1d0a369 into main Dec 6, 2026
1 check passed
@arirusso
arirusso deleted the publish-permissions branch December 6, 2026 19:24
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