File tree Expand file tree Collapse file tree 1 file changed +59
-0
lines changed
Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ' 🔗 Update PNPM'
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ base :
7+ description : The Base Ref to apply the diff
8+ required : false
9+ default : ' main'
10+
11+ schedule :
12+ - cron : ' 0 12 * * 1'
13+
14+ permissions :
15+ contents : read
16+
17+ jobs :
18+ update-pnpm :
19+ if : github.repository_owner == 'streetsidesoftware'
20+ runs-on : ubuntu-latest
21+ env :
22+ NEW_BRANCH : update-pnpm-${{ inputs.base || 'main' }}
23+ REF_BRANCH : ${{ inputs.base || 'main' }}
24+ PR_TYPE : ci
25+ steps :
26+ - name : Checkout code
27+ uses : actions/checkout@v4
28+ with :
29+ ref : ${{ env.REF_BRANCH }}
30+
31+ - name : Setup
32+ uses : ./public/setup-node-pnpm
33+
34+ - name : Update PNPM
35+ run : |
36+ corepack use pnpm@latest
37+
38+ - name : Gen Body
39+ id : git-body
40+ uses : ./public/pr-body
41+ with :
42+ title : Update ALL Dependencies ${{ env.REF_BRANCH }}
43+ path : package.json
44+
45+ - name : PR
46+ uses : ./.github/actions/pr
47+ with :
48+ commit-message : ' ci: Workflow Bot -- Update PNPM'
49+ branch : ${{ env.NEW_BRANCH }}
50+ base : ${{ env.REF_BRANCH }}
51+ title : ' ci: Workflow Bot -- Update PNPM (${{ env.REF_BRANCH }})'
52+ body : ${{ steps.git-body.outputs.body }}
53+ app_id : ${{ secrets.AUTOMATION_APP_ID }}
54+ app_private_key : ${{ secrets.AUTOMATION_PRIVATE_KEY }}
55+
56+ - name : Summary
57+ uses : streetsidesoftware/actions/public/summary@v1
58+ with :
59+ text : ${{ steps.git-body.outputs.body }}
You can’t perform that action at this time.
0 commit comments