Skip to content

Commit ff58961

Browse files
authored
fix(ci): add release environment for npm OIDC publishing (#11)
## Summary - Add `environment: release` to the publish job in `release-please.yml` - Required for npm OIDC trusted publishing to match the environment claim ## Setup required - Create a `release` environment in GitHub: Settings > Environments > New environment > "release" - Update npm trusted publisher config to set Environment name to `release` ## Test plan - [ ] Merge this PR, then merge the next release-please PR to verify npm publish succeeds
1 parent 5a0dbc8 commit ff58961

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
needs: release-please
2626
if: ${{ needs.release-please.outputs.release_created }}
2727
runs-on: ubuntu-latest
28+
environment: release
2829
steps:
2930
- uses: actions/checkout@v6
3031

0 commit comments

Comments
 (0)