File tree Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Expand file tree Collapse file tree 1 file changed +50
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Update Lockfiles (bun.lockb + Podfile.lock)'
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ paths :
8
+ - " .github/workflows/update-lockfiles.yml"
9
+ pull_request :
10
+ paths :
11
+ - " .github/workflows/update-lockfiles.yml"
12
+ - " package.json"
13
+ - " **/package.json"
14
+
15
+ permissions :
16
+ contents : write
17
+
18
+ jobs :
19
+ update-lockfiles :
20
+ name : " Update lockfiles (bun.lockb + Podfile.lock)"
21
+ if : github.actor == 'dependabot[bot]'
22
+ runs-on : macOS-latest
23
+ steps :
24
+ - uses : actions/checkout@v4
25
+ with :
26
+ fetch-depth : 0
27
+ ref : ${{ github.event.pull_request.head.ref }}
28
+
29
+ - uses : oven-sh/setup-bun@v2
30
+
31
+ - name : Setup Ruby (bundle)
32
+ uses : ruby/setup-ruby@v1
33
+ with :
34
+ ruby-version : 2.7.2
35
+ bundler-cache : true
36
+ working-directory : example/ios
37
+
38
+ - run : |
39
+ bun install
40
+ git add bun.lockb
41
+
42
+ cd example
43
+ bun pods
44
+ git add ios/Podfile.lock
45
+
46
+ cd ..
47
+ git config --global user.name 'dependabot[bot]'
48
+ git config --global user.email 'dependabot[bot]@users.noreply.github.com'
49
+ git commit --amend --no-edit
50
+ git push --force
You can’t perform that action at this time.
0 commit comments