|
| 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: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> |
| 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 to Sistent ${{ github.event.release.tag_name }} |
| 42 | + |
| 43 | + _This pull request has been auto-generated by [l5io](http://github.com/l5io)_ |
| 44 | + assignees: l5io |
| 45 | + draft: false |
| 46 | + bump-meshery-extensions: |
| 47 | + runs-on: ubuntu-latest |
| 48 | + steps: |
| 49 | + - name: Checkout Meshery Extensions code |
| 50 | + uses: actions/checkout@v4 |
| 51 | + with: |
| 52 | + repository: layer5labs/meshery-extensions |
| 53 | + fetch-depth: 1 |
| 54 | + token: ${{ secrets.RELEASEDRAFTER_PAT }} |
| 55 | + - uses: actions/setup-node@v4 |
| 56 | + with: |
| 57 | + node-version: 18 |
| 58 | + cache: "npm" |
| 59 | + cache-dependency-path: '**/package-lock.json' |
| 60 | + - name: Make changes to pull request |
| 61 | + working-directory: meshmap |
| 62 | + run: npm install @layer5/sistent@latest |
| 63 | + - name: Create Pull Request |
| 64 | + id: cpr |
| 65 | + uses: peter-evans/create-pull-request@v7 |
| 66 | + with: |
| 67 | + token: ${{ secrets.RELEASEDRAFTER_PAT }} |
| 68 | + commit-message: Bump sistent ${{ github.event.release.tag_name }} dependencies |
| 69 | + committer: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> |
| 70 | + author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> |
| 71 | + signoff: true |
| 72 | + branch: bump-sistent-bot |
| 73 | + delete-branch: true |
| 74 | + title: '[Chore]: Bump ${{ github.event.release.name }}' |
| 75 | + add-paths: | |
| 76 | + meshmap/package.json |
| 77 | + meshmap/package-lock.json |
| 78 | + body: | |
| 79 | + Update to Sistent ${{ github.event.release.tag_name }} |
| 80 | + |
| 81 | + _This pull request has been auto-generated by [l5io](http://github.com/l5io)_ |
| 82 | + assignees: l5io |
| 83 | + draft: false |
| 84 | + bump-meshery-cloud: |
| 85 | + runs-on: ubuntu-latest |
| 86 | + steps: |
| 87 | + - name: Checkout Meshery Extensions code |
| 88 | + uses: actions/checkout@v4 |
| 89 | + with: |
| 90 | + repository: layer5io/meshery-cloud |
| 91 | + fetch-depth: 1 |
| 92 | + token: ${{ secrets.RELEASEDRAFTER_PAT }} |
| 93 | + - uses: actions/setup-node@v4 |
| 94 | + with: |
| 95 | + node-version: 18 |
| 96 | + cache: "npm" |
| 97 | + cache-dependency-path: '**/package-lock.json' |
| 98 | + - name: Make changes to pull request |
| 99 | + working-directory: ui |
| 100 | + run: npm install @layer5/sistent@latest |
| 101 | + - name: Create Pull Request |
| 102 | + id: cpr |
| 103 | + uses: peter-evans/create-pull-request@v7 |
| 104 | + with: |
| 105 | + token: ${{ secrets.RELEASEDRAFTER_PAT }} |
| 106 | + commit-message: Bump sistent ${{ github.event.release.tag_name }} dependencies |
| 107 | + committer: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> |
| 108 | + author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> |
| 109 | + signoff: true |
| 110 | + branch: bump-sistent-bot |
| 111 | + delete-branch: true |
| 112 | + title: '[Chore]: Bump ${{ github.event.release.name }}' |
| 113 | + add-paths: | |
| 114 | + ui/package.json |
| 115 | + ui/package-lock.json |
| 116 | + body: | |
| 117 | + Update to Sistent ${{ github.event.release.tag_name }} |
| 118 | + |
| 119 | + _This pull request has been auto-generated by [l5io](http://github.com/l5io)_ |
| 120 | + assignees: l5io |
| 121 | + draft: false |
0 commit comments