forked from viamrobotics/rdk
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 1.13 KB
/
npm-bump-version.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Bump remote-control Version
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
on:
workflow_dispatch:
inputs:
sdk_version:
required: false
type: string
default: "rc"
description: "Typescript SDK Version. Default: rc"
jobs:
bump:
name: Bump remote-control Version
runs-on: [ubuntu-latest]
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Bump Version
run: |
cd web/frontend
npm install --save --save-exact @viamrobotics/sdk@${{ inputs.sdk_version }}
npm version patch
- name: Add + Commit + Open PR
uses: peter-evans/create-pull-request@v3
with:
commit-message: '[WORKFLOW] Updating remote-control'
branch: 'workflow/bump-remote-control'
delete-branch: true
base: main
title: Automated remote-control Version Update
body: This is an auto-generated PR to update remote-control package versions. Check the commits to see which repos and commits are responsible for the changes.
assignees: ${{ github.actor }}
reviewers: ${{ github.actor }}