Skip to content

Commit

Permalink
fix: auto commit
Browse files Browse the repository at this point in the history
Ensure all uncommitted changes will auto-commit.
  • Loading branch information
jhenbertgit committed Jul 5, 2024
1 parent 4afc22d commit 23a7920
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Publish

on:
push:
branches:
Expand All @@ -17,6 +18,13 @@ jobs:

- name: Install dependencies
run: npm install


- name: Commit changes
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add .
git commit -m "Auto-commit by GitHub Actions" || echo "No changes to commit"
- name: Publish package
run: npx jsr publish

0 comments on commit 23a7920

Please sign in to comment.