File tree Expand file tree Collapse file tree 1 file changed +64
-0
lines changed Expand file tree Collapse file tree 1 file changed +64
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ' 🔗 Update Dependencies Main'
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ paths :
8
+ - ' **/package.json'
9
+ - ' **/pnpm-lock.yaml'
10
+ - ' scripts/**'
11
+ workflow_dispatch :
12
+ schedule :
13
+ - cron : ' 0 12 * * 0'
14
+
15
+ permissions :
16
+ contents : read
17
+
18
+ jobs :
19
+ update-dependencies :
20
+ if : github.repository_owner == 'streetsidesoftware'
21
+ runs-on : ubuntu-latest
22
+ env :
23
+ NEW_BRANCH : ' update-dependencies-main'
24
+ REF_BRANCH : main
25
+ steps :
26
+ - name : Checkout code
27
+ uses : actions/checkout@v4
28
+ with :
29
+ ref : ${{ env.REF_BRANCH }}
30
+
31
+ - name : Setup Node, PNPM, and Corepack
32
+ uses : streetsidesoftware/actions/public/setup-node-pnpm-corepack@v1
33
+
34
+ - name : Install
35
+ run : pnpm install
36
+
37
+ - name : Update
38
+ run : |
39
+ pnpm -r up
40
+
41
+ - name : Install
42
+ run : |
43
+ pnpm i
44
+
45
+ - name : Lint
46
+ run : |
47
+ pnpm lint:fix
48
+
49
+ - name : PR Body
50
+ id : body
51
+ uses : streetsidesoftware/actions/public/pr-body@v1
52
+ with :
53
+ title : Update Dependencies
54
+ path : package.json
55
+
56
+ - name : PR
57
+ uses : streetsidesoftware/actions/.github/actions/pr@v1
58
+ with :
59
+ commit-message : ' ci: Workflow Bot -- Update ALL Dependencies'
60
+ branch : ${{ env.NEW_BRANCH }}
61
+ base : ${{ env.REF_BRANCH }}
62
+ body : ${{ steps.body.outputs.body }}
63
+ app_id : ${{ secrets.AUTOMATION_APP_ID }}
64
+ app_private_key : ${{ secrets.AUTOMATION_PRIVATE_KEY }}
You can’t perform that action at this time.
0 commit comments