Skip to content

Commit

Permalink
ci: fix set git user
Browse files Browse the repository at this point in the history
  • Loading branch information
joonaathaan committed Oct 18, 2024
1 parent 58444c5 commit c8f3adf
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ jobs:
- name: Build Project
run: pnpm lerna run build

- name: Set git user
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
- name: Publish stable release
if: ${{ github.ref_name }} == 'stable'
run: |
Expand All @@ -52,12 +57,10 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

- name: Set up git user, commit and push!
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "chore: publish packages [skip ci]" || echo "No changes to commit"
git push
#- name: Set up git user, commit and push!
# run: |
# git add .
# git commit -m "chore: publish packages [skip ci]" || echo "No changes to commit"
#git push


0 comments on commit c8f3adf

Please sign in to comment.