Skip to content

Commit 8990dce

Browse files
committed
secrets 🤫
1 parent 2d6d805 commit 8990dce

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,6 @@ jobs:
141141
yarn react-native run-windows --release --arch x64 --logging --no-packager --no-launch --no-deploy --msbuildprops "BundleEntryFile=index.ts" --no-telemetry
142142
release:
143143
name: Release
144-
permissions:
145-
contents: write
146-
issues: write
147-
pull-requests: write
148144
needs: [review, android, ios, macos, windows]
149145
runs-on: ubuntu-22.04
150146
steps:
@@ -160,7 +156,11 @@ jobs:
160156
yarn
161157
- name: Release
162158
env:
163-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
164-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
159+
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }}
160+
GIT_AUTHOR_EMAIL: ${{ secrets.GH_BOT_EMAIL }}
161+
GIT_AUTHOR_NAME : ${{ secrets.GH_BOT_NAME }}
162+
GIT_COMMITTER_EMAIL: ${{ secrets.GH_BOT_EMAIL }}
163+
GIT_COMMITTER_NAME: ${{ secrets.GH_BOT_NAME }}
164+
NPM_TOKEN: ${{ secrets.NPM_RELEASE_TOKEN }}
165165
run: |
166166
yarn semantic-release

0 commit comments

Comments
 (0)