Merge pull request #6 from tiktok/chore-actions

chore: set up git config in actions
This commit is contained in:
Cheng Liu 2024-02-21 16:17:04 -08:00 committed by GitHub
commit a407458f9d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 10 deletions

View file

@ -11,14 +11,13 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Git config user
uses: snow-actions/git-config-user@v1.0.0
with:
name: tiktokbot
email: tiktokbot@users.noreply.github.com
- uses: actions/setup-node@v3
with:
node-version: 16
- name: git config email
run: git config --local user.email tiktokbot@users.noreply.github.com
- name: git config name
run: git config --local user.name tiktokbot
- name: Verify Change Logs
run: node common/scripts/install-run-rush.js change --verify
- name: Rush Install

View file

@ -8,14 +8,13 @@ jobs:
with:
fetch-depth: 2
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- name: Git config user
uses: snow-actions/git-config-user@v1.0.0
with:
name: tiktokbot
email: tiktokbot@users.noreply.github.com
- uses: actions/setup-node@v3
with:
node-version: 16
- name: git config email
run: git config --local user.email tiktokbot@users.noreply.github.com
- name: git config name
run: git config --local user.name tiktokbot
- name: Rush Install
run: node common/scripts/install-run-rush.js install
- name: Rush build