fix bun updates

This commit is contained in:
C4illin
2024-05-20 01:37:07 +02:00
parent c8298478b1
commit ef7b4f9f60
2 changed files with 29 additions and 0 deletions

28
.github/workflows/bun-dependabot.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: 'Dependabot: Update bun.lockb'
on:
pull_request:
paths:
- "package.json"
permissions:
contents: write
jobs:
update-bun-lockb:
name: "Update bun.lockb"
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- uses: oven-sh/setup-bun@v1
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
- run: |
bun install
git add bun.lockb
git config --global user.name 'dependabot[bot]'
git config --global user.email 'dependabot[bot]@users.noreply.github.com'
git commit --amend --no-edit
git push --force