Skip to content

Commit 6bb123d

Browse files
authored
[ci] [workflow] remove hard code git user (#21)
* ci: remove hard code git user in fe ci
1 parent f33bb8a commit 6bb123d

2 files changed

Lines changed: 0 additions & 16 deletions

File tree

.github/workflows/frontend-ci.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,13 @@ jobs:
2323
runs-on: ubuntu-latest
2424
env:
2525
NODE_VERSION: '18'
26-
# should be ci trigger user
27-
GIT_USER_NAME: 'mocayo'
28-
GIT_USER_EMAIL: 'qihai@bytedance.com'
2926
BUILD_BRANCH: ${{ github.ref }}
3027
steps:
3128
- name: Checkout
3229
uses: actions/checkout@v4
3330
with:
3431
fetch-depth: 1
3532

36-
- name: Config Git User
37-
run: |
38-
git config --local user.name ${{ env.GIT_USER_NAME }}
39-
git config --local user.email ${{ env.GIT_USER_EMAIL }}
40-
4133
- name: Setup Node
4234
uses: actions/setup-node@v3
4335
with:

.github/workflows/frontend-tsc-ci.yaml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,12 @@ jobs:
2323
runs-on: ubuntu-latest
2424
env:
2525
NODE_VERSION: '18'
26-
# should be ci trigger user
27-
GIT_USER_NAME: 'mocayo'
28-
GIT_USER_EMAIL: 'qihai@bytedance.com'
2926
steps:
3027
- name: Checkout
3128
uses: actions/checkout@v4
3229
with:
3330
fetch-depth: 1
3431

35-
- name: Config Git User
36-
run: |
37-
git config --local user.name ${{ env.GIT_USER_NAME }}
38-
git config --local user.email ${{ env.GIT_USER_EMAIL }}
39-
4032
- name: Setup Node
4133
uses: actions/setup-node@v3
4234
with:

0 commit comments

Comments
 (0)