mirror of
https://github.com/tiktok/sparo.git
synced 2024-11-14 19:35:12 -05:00
Merge pull request #6 from tiktok/chore-actions
chore: set up git config in actions
This commit is contained in:
commit
a407458f9d
2 changed files with 8 additions and 10 deletions
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
|
@ -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
|
||||
|
|
9
.github/workflows/publish.yaml
vendored
9
.github/workflows/publish.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue