Skip to content

Commit 6e44176

Browse files
feat(ci): use OIDC Trusted Publishing for crates.io (#501)
- Add id-token: write permission for OIDC token exchange - Remove CARGO_REGISTRY_TOKEN requirement - Trusted publishers configured on crates.io for all 4 workspace crates: redisctl, redis-cloud, redis-enterprise, redisctl-config
1 parent 964b0f3 commit 6e44176

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release-plz.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Release-plz
33
permissions:
44
pull-requests: write
55
contents: write
6+
id-token: write
67

78
on:
89
push:
@@ -31,4 +32,5 @@ jobs:
3132
uses: MarcoIeni/release-plz-action@v0.5
3233
env:
3334
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
34-
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
35+
# Uses OIDC Trusted Publishing - no CARGO_REGISTRY_TOKEN needed
36+
# Trusted publishers configured on crates.io for all workspace crates

0 commit comments

Comments
 (0)