generated from nimblehq/git-template
-
Notifications
You must be signed in to change notification settings - Fork 4
50 lines (41 loc) · 1.34 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Bump Version
on:
workflow_dispatch:
inputs:
newVersion:
description: "New version"
required: true
type: string
jobs:
bump_version:
name: Bump version
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Check out
uses: actions/checkout@v3
- name: Set new version
uses: jossef/[email protected]
with:
file: mason-config.json
field: app_version
value: ${{ github.event.inputs.newVersion }}
- name: Create pull request
uses: peter-evans/create-pull-request@v4
with:
assignees: ${{ secrets.GITHUB_USER }}
token: ${{ secrets.WIKI_ACTION_TOKEN }}
commit-message: Bump version to ${{ github.event.inputs.newVersion }}
committer: Nimble Bot <[email protected]>
branch: chore/bump-version-to-${{ github.event.inputs.newVersion }}
delete-branch: true
title: '[Chore] Bump version to ${{ github.event.inputs.newVersion }}'
labels: |
type : chore
body: |
## What happened 👀
Bump version to ${{ github.event.inputs.newVersion }}
## Insight 📝
Automatically created by the Bump Version workflow.
## Proof Of Work 📹
On the Files changed tab