fix bun updates
This commit is contained in:
parent
c8298478b1
commit
ef7b4f9f60
2 changed files with 29 additions and 0 deletions
1
.github/dependabot.yml
vendored
1
.github/dependabot.yml
vendored
|
|
@ -7,6 +7,7 @@ version: 2
|
||||||
updates:
|
updates:
|
||||||
# Maintain dependencies for npm
|
# Maintain dependencies for npm
|
||||||
- package-ecosystem: "npm" # See documentation for possible values
|
- package-ecosystem: "npm" # See documentation for possible values
|
||||||
|
versioning-strategy: increase
|
||||||
directory: "/" # Location of package manifests
|
directory: "/" # Location of package manifests
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
|
|
|
||||||
28
.github/workflows/bun-dependabot.yml
vendored
Normal file
28
.github/workflows/bun-dependabot.yml
vendored
Normal 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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue