generated from layer5io/layer5-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: auto bump version for meshery, extensions and cloud
Signed-off-by: jerensl <[email protected]>
- Loading branch information
Showing
1 changed file
with
127 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
name: Bump Meshery, Meshery Extensions and Meshery Cloud | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
bump-meshery: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Meshery code | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: meshery/meshery | ||
fetch-depth: 1 | ||
token: ${{ secrets.RELEASEDRAFTER_PAT }} | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
cache: "npm" | ||
cache-dependency-path: '**/package-lock.json' | ||
- name: Make changes to pull request | ||
working-directory: ui | ||
run: npm install @layer5/sistent@latest | ||
- name: Create Pull Request | ||
id: cpr | ||
uses: peter-evans/create-pull-request@v7 | ||
with: | ||
token: ${{ secrets.RELEASEDRAFTER_PAT }} | ||
commit-message: Bump sistent ${{ github.event.release.tag_name }} dependencies | ||
committer: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | ||
author: "l5io" | ||
signoff: true | ||
branch: bump-sistent-bot | ||
delete-branch: true | ||
title: '[Chore]: Bump ${{ github.event.release.name }}' | ||
add-paths: | | ||
ui/package.json | ||
ui/package-lock.json | ||
body: | | ||
Update sistent ${{ github.event.release.tag_name }} | ||
- Updated with *today's* date | ||
- Auto-generated by [l5io][1] | ||
[1]: https://github.com/l5io | ||
assignees: l5io | ||
draft: false | ||
bump-meshery-extensions: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Meshery Extensions code | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: layer5labs/meshery-extensions | ||
fetch-depth: 1 | ||
token: ${{ secrets.RELEASEDRAFTER_PAT }} | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
cache: "npm" | ||
cache-dependency-path: '**/package-lock.json' | ||
- name: Make changes to pull request | ||
working-directory: meshmap | ||
run: npm install @layer5/sistent@latest | ||
- name: Create Pull Request | ||
id: cpr | ||
uses: peter-evans/create-pull-request@v7 | ||
with: | ||
token: ${{ secrets.RELEASEDRAFTER_PAT }} | ||
commit-message: Bump sistent ${{ github.event.release.tag_name }} dependencies | ||
committer: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | ||
author: "l5io" | ||
signoff: true | ||
branch: bump-sistent-bot | ||
delete-branch: true | ||
title: '[Chore]: Bump ${{ github.event.release.name }}' | ||
add-paths: | | ||
meshmap/package.json | ||
meshmap/package-lock.json | ||
body: | | ||
Update sistent ${{ github.event.release.tag_name }} | ||
- Updated with *today's* date | ||
- Auto-generated by [l5io][1] | ||
[1]: https://github.com/l5io | ||
assignees: l5io | ||
draft: false | ||
bump-meshery-cloud: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Meshery Extensions code | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: layer5io/meshery-cloud | ||
fetch-depth: 1 | ||
token: ${{ secrets.RELEASEDRAFTER_PAT }} | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
cache: "npm" | ||
cache-dependency-path: '**/package-lock.json' | ||
- name: Make changes to pull request | ||
working-directory: ui | ||
run: npm install @layer5/sistent@latest | ||
- name: Create Pull Request | ||
id: cpr | ||
uses: peter-evans/create-pull-request@v7 | ||
with: | ||
token: ${{ secrets.RELEASEDRAFTER_PAT }} | ||
commit-message: Bump sistent ${{ github.event.release.tag_name }} dependencies | ||
committer: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | ||
author: "l5io" | ||
signoff: true | ||
branch: bump-sistent-bot | ||
delete-branch: true | ||
title: '[Chore]: Bump ${{ github.event.release.name }}' | ||
add-paths: | | ||
ui/package.json | ||
ui/package-lock.json | ||
body: | | ||
Update sistent ${{ github.event.release.tag_name }} | ||
- Updated with *today's* date | ||
- Auto-generated by [l5io][1] | ||
[1]: https://github.com/l5io | ||
assignees: l5io | ||
draft: false |