diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index a5cfbf4..86ab659 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -16,12 +16,15 @@ jobs: - uses: actions/setup-node@v5 with: node-version: 22 - - run: pnpm install - - run: pnpm up --latest + - name: Update dependencies + run: | + pnpm install + pnpm up --latest - name: Commit changes run: | - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" git add package.json pnpm-lock.yaml git commit -m "chore: update dependencies" || echo "No changes to commit" - git push + - name: Push changes + run: git push + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file