Skip to content

Commit 00fe5fc

Browse files
committed
removed gh user from release workflow
1 parent 6bdf776 commit 00fe5fc

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ on:
44
workflow_dispatch:
55
inputs:
66
releaseType:
7-
description: 'Release type - major, minor or patch'
7+
description: "Release type - major, minor or patch"
88
required: true
9-
default: 'patch'
9+
default: "patch"
1010
distTag:
1111
description: 'NPM tag (e.g. use "next" to release a test version)'
1212
required: true
13-
default: 'latest'
13+
default: "latest"
1414

1515
env:
1616
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- uses: actions/checkout@v3
2323
with:
24-
ref: 'main'
24+
ref: "main"
2525
fetch-depth: 0
2626
- uses: actions/setup-node@v3
2727
with:
@@ -31,11 +31,6 @@ jobs:
3131
npm set registry "https://registry.npmjs.org/"
3232
npm set //registry.npmjs.org/:_authToken $NPM_TOKEN
3333
npm whoami
34-
- name: Git Setup
35-
run: |
36-
git config user.name $GITHUB_ACTOR
37-
git config user.email gh-actions-${GITHUB_ACTOR}@github.com
38-
git remote add gh-origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
3934
- name: Install Dependencies
4035
run: npm ci
4136
- name: Release

0 commit comments

Comments
 (0)