Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

Commit fd7f2d0

Browse files
authored
chore: dependabot lockfiles (margelo#474)
1 parent 2dbd351 commit fd7f2d0

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: 'Update Lockfiles (bun.lockb + Podfile.lock)'
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "package.json"
7+
- "example/package.json"
8+
9+
permissions:
10+
contents: write
11+
12+
jobs:
13+
update-lockfiles:
14+
name: "Update lockfiles (bun.lockb + Podfile.lock)"
15+
if: github.actor == 'dependabot[bot]'
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: oven-sh/setup-bun@v2
19+
- uses: ruby/setup-ruby@v1
20+
- uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0
23+
ref: ${{ github.event.pull_request.head.ref }}
24+
- run: |
25+
bun install --frozen-lockfile
26+
git add bun.lockb
27+
cd example
28+
bun pods
29+
git add ios/Podfile.lock
30+
cd ..
31+
git config --global user.name 'dependabot[bot]'
32+
git config --global user.email 'dependabot[bot]@users.noreply.github.com'
33+
git commit --amend --no-edit
34+
git push --force

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,3 +157,4 @@ tsconfig.tsbuildinfo
157157
package-lock.json
158158
packages/*
159159
yarn.lock
160+
.java-version

0 commit comments

Comments
 (0)