diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e93fc0e..92df736 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,4 +1,5 @@ name: Publish + on: push: branches: @@ -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