Skip to content

Commit dce1abc

Browse files
committed
Switch to trusted publishing
1 parent 5cbac2c commit dce1abc

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.changeset/light-mirrors-tickle.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"types-react-codemod": patch
3+
---
4+
5+
Switch to trusted publishing

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ on:
88
jobs:
99
release:
1010
name: Release
11+
environment: production
12+
permissions:
13+
id-token: write # Required for OIDC
14+
# Changesets creates a commit and PR for the release
15+
contents: write
16+
pull-requests: write
1117
runs-on: ubuntu-latest
1218
steps:
1319
- name: Checkout Repo
@@ -31,7 +37,6 @@ jobs:
3137
publish: yarn release
3238
env:
3339
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34-
NPM_TOKEN: ${{ secrets.NPM_AUTOMATION_TOKEN }}
3540

3641
- name: Debug release
3742
# Shows files included in release

0 commit comments

Comments
 (0)