Skip to content

Commit 7477d62

Browse files
authored
chore: remove use of long-lived GitHub tokens (#3539)
1 parent ec26c93 commit 7477d62

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.changeset/light-horses-appear.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@rnx-kit/scripts": patch
3+
---
4+
5+
This version bump is for testing purposes only

.github/workflows/build.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ jobs:
66
build_and_publish:
77
name: "Build and publish"
88
permissions:
9-
contents: write # create Git tags
9+
contents: write # for GH releases and Git tags (Changesets)
10+
pull-requests: write # version PRs (Changesets)
1011
if: ${{ github.repository == 'microsoft/rnx-kit' }}
1112
runs-on: ubuntu-24.04
1213
steps:
@@ -35,7 +36,7 @@ jobs:
3536
publish: npm run publish:changesets
3637
version: npm run version:changesets
3738
env:
38-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3940
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
4041
website:
4142
name: "Publish website"

0 commit comments

Comments
 (0)