Bump Version #47
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
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 |