Skip to content

Commit c2578c3

Browse files
fix(ci): add crates-io environment for Trusted Publishing (#504)
Trusted Publishing on crates.io requires the workflow to specify an environment that matches the one configured in the trusted publisher. The environment 'crates-io' must be created in GitHub repo settings.
1 parent 4e1a627 commit c2578c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release-plz.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
release-plz:
1919
name: Release-plz
2020
runs-on: ubuntu-latest
21+
environment: crates-io
2122
steps:
2223
- name: Checkout repository
2324
uses: actions/checkout@v4

0 commit comments

Comments
 (0)