Skip to content

Commit

Permalink
Merge pull request #6 from tiktok/chore-actions
Browse files Browse the repository at this point in the history
chore: set up git config in actions
  • Loading branch information
chengcyber authored Feb 22, 2024
2 parents 5ea26b9 + e9bd26e commit a407458
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,13 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Git config user
uses: snow-actions/[email protected]
with:
name: tiktokbot
email: [email protected]
- uses: actions/setup-node@v3
with:
node-version: 16
- name: git config email
run: git config --local user.email [email protected]
- 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
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@ jobs:
with:
fetch-depth: 2
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- name: Git config user
uses: snow-actions/[email protected]
with:
name: tiktokbot
email: [email protected]
- uses: actions/setup-node@v3
with:
node-version: 16
- name: git config email
run: git config --local user.email [email protected]
- 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
Expand Down

0 comments on commit a407458

Please sign in to comment.