Skip to content

chore(deps-dev): bump the dependencies group with 2 updates #12

chore(deps-dev): bump the dependencies group with 2 updates

chore(deps-dev): bump the dependencies group with 2 updates #12

Workflow file for this run

name: Sync Lockfile
on:
pull_request:
paths: ['package.json']
permissions:
contents: write
jobs:
sync:
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.event.pull_request.state == 'open'
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v6
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GITHUB_TOKEN }}
- uses: oven-sh/setup-bun@v2
- run: bun install
- name: Commit updated lockfile
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add bun.lock
if git diff --staged --quiet; then
echo "No lockfile changes, skipping commit"
exit 0
fi
git commit -m "chore: sync bun.lock"
git pull --rebase origin ${{ github.head_ref }}
git push