Skip to content

Allow pub.dev publish OIDC token#64

Merged
RockerFlower merged 1 commit into
masterfrom
codex/fix-pub-publish-permissions
Jul 8, 2026
Merged

Allow pub.dev publish OIDC token#64
RockerFlower merged 1 commit into
masterfrom
codex/fix-pub-publish-permissions

Conversation

@RockerFlower

Copy link
Copy Markdown
Member

Summary:

  • Grant the publish reusable workflow the OIDC token permission required for pub.dev trusted publishing.
  • Keep the permission scope minimal with contents: read and id-token: write.

Context:

  • The v0.2.3 tag triggered the publish workflow, but GitHub reported startup_failure before creating any job.
  • This patch lets the reusable dart-lang publish workflow request the pub.dev OIDC token.

Validation:

  • git diff --check

@RockerFlower RockerFlower merged commit 498cef7 into master Jul 8, 2026
2 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