From d65af8a44fe9016984ba6fa868dcb11a3ace01ad Mon Sep 17 00:00:00 2001 From: Sudhanshu Dasgupta Date: Thu, 2 Jan 2025 14:07:39 +0530 Subject: [PATCH] feat(workflow): add bump version worflow for layer5 repo Signed-off-by: Sudhanshu Dasgupta --- .github/workflows/bump-meshery-version.yml | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/.github/workflows/bump-meshery-version.yml b/.github/workflows/bump-meshery-version.yml index d38b5540..45722c87 100644 --- a/.github/workflows/bump-meshery-version.yml +++ b/.github/workflows/bump-meshery-version.yml @@ -100,6 +100,44 @@ jobs: _This pull request has been auto-generated by [l5io](http://github.com/l5io)_ assignees: l5io draft: false + bump-layer5: + runs-on: ubuntu-latest + needs: versions-check + steps: + - name: Checkout Layer5 code + uses: actions/checkout@v4 + with: + repository: layer5io/layer5 + 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 + run: npm install @layer5/sistent@${{needs.versions-check.outputs.current}} + - name: Create Pull Request + id: cpr + uses: peter-evans/create-pull-request@v7 + with: + token: ${{ secrets.RELEASEDRAFTER_PAT }} + commit-message: Bump sistent v${{ needs.versions-check.outputs.current }} dependencies + committer: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> + author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> + signoff: true + branch: bump-sistent-bot + delete-branch: true + title: '[Chore]: Bump Sistent v${{ needs.versions-check.outputs.current }}' + add-paths: | + package.json + package-lock.json + body: | + Update to Sistent v${{ needs.versions-check.outputs.current }} + + _This pull request has been auto-generated by [l5io](http://github.com/l5io)_ + assignees: l5io + draft: false bump-meshery-cloud: runs-on: ubuntu-latest needs: versions-check