Skip to content

Commit acdc573

Browse files
committed
ci: auto bump version for meshery, extensions and cloud
Signed-off-by: jerensl <54782057+jerensl@users.noreply.github.com>
1 parent f7b688d commit acdc573

1 file changed

Lines changed: 127 additions & 0 deletions

File tree

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
name: Bump Meshery, Meshery Extensions and Meshery Cloud
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
bump-meshery:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout Meshery code
12+
uses: actions/checkout@v4
13+
with:
14+
repository: meshery/meshery
15+
fetch-depth: 1
16+
token: ${{ secrets.RELEASEDRAFTER_PAT }}
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: 18
20+
cache: "npm"
21+
cache-dependency-path: '**/package-lock.json'
22+
- name: Make changes to pull request
23+
working-directory: ui
24+
run: npm install @layer5/sistent@latest
25+
- name: Create Pull Request
26+
id: cpr
27+
uses: peter-evans/create-pull-request@v7
28+
with:
29+
token: ${{ secrets.RELEASEDRAFTER_PAT }}
30+
commit-message: Bump sistent ${{ github.event.release.tag_name }} dependencies
31+
committer: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
32+
author: "l5io"
33+
signoff: true
34+
branch: bump-sistent-bot
35+
delete-branch: true
36+
title: '[Chore]: Bump ${{ github.event.release.name }}'
37+
add-paths: |
38+
ui/package.json
39+
ui/package-lock.json
40+
body: |
41+
Update sistent ${{ github.event.release.tag_name }}
42+
- Updated with *today's* date
43+
- Auto-generated by [l5io][1]
44+
45+
[1]: https://github.com/l5io
46+
assignees: l5io
47+
draft: false
48+
bump-meshery-extensions:
49+
runs-on: ubuntu-latest
50+
steps:
51+
- name: Checkout Meshery Extensions code
52+
uses: actions/checkout@v4
53+
with:
54+
repository: layer5labs/meshery-extensions
55+
fetch-depth: 1
56+
token: ${{ secrets.RELEASEDRAFTER_PAT }}
57+
- uses: actions/setup-node@v4
58+
with:
59+
node-version: 18
60+
cache: "npm"
61+
cache-dependency-path: '**/package-lock.json'
62+
- name: Make changes to pull request
63+
working-directory: meshmap
64+
run: npm install @layer5/sistent@latest
65+
- name: Create Pull Request
66+
id: cpr
67+
uses: peter-evans/create-pull-request@v7
68+
with:
69+
token: ${{ secrets.RELEASEDRAFTER_PAT }}
70+
commit-message: Bump sistent ${{ github.event.release.tag_name }} dependencies
71+
committer: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
72+
author: "l5io"
73+
signoff: true
74+
branch: bump-sistent-bot
75+
delete-branch: true
76+
title: '[Chore]: Bump ${{ github.event.release.name }}'
77+
add-paths: |
78+
meshmap/package.json
79+
meshmap/package-lock.json
80+
body: |
81+
Update sistent ${{ github.event.release.tag_name }}
82+
- Updated with *today's* date
83+
- Auto-generated by [l5io][1]
84+
85+
[1]: https://github.com/l5io
86+
assignees: l5io
87+
draft: false
88+
bump-meshery-cloud:
89+
runs-on: ubuntu-latest
90+
steps:
91+
- name: Checkout Meshery Extensions code
92+
uses: actions/checkout@v4
93+
with:
94+
repository: layer5io/meshery-cloud
95+
fetch-depth: 1
96+
token: ${{ secrets.RELEASEDRAFTER_PAT }}
97+
- uses: actions/setup-node@v4
98+
with:
99+
node-version: 18
100+
cache: "npm"
101+
cache-dependency-path: '**/package-lock.json'
102+
- name: Make changes to pull request
103+
working-directory: ui
104+
run: npm install @layer5/sistent@latest
105+
- name: Create Pull Request
106+
id: cpr
107+
uses: peter-evans/create-pull-request@v7
108+
with:
109+
token: ${{ secrets.RELEASEDRAFTER_PAT }}
110+
commit-message: Bump sistent ${{ github.event.release.tag_name }} dependencies
111+
committer: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
112+
author: "l5io"
113+
signoff: true
114+
branch: bump-sistent-bot
115+
delete-branch: true
116+
title: '[Chore]: Bump ${{ github.event.release.name }}'
117+
add-paths: |
118+
ui/package.json
119+
ui/package-lock.json
120+
body: |
121+
Update sistent ${{ github.event.release.tag_name }}
122+
- Updated with *today's* date
123+
- Auto-generated by [l5io][1]
124+
125+
[1]: https://github.com/l5io
126+
assignees: l5io
127+
draft: false

0 commit comments

Comments
 (0)