Skip to content

Release start

Release start #5

Workflow file for this run

# This is a basic workflow that is manually triggered
name: Release start
# Controls when the action will run. Workflow runs when manually triggered using the UI
# or API.
on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
version_name:
description: 'Release version name'
required: true
type: string
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
create_branch:
# The type of runner that the job will run on
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# override vName with new version
- name: Create release branch
run: git checkout -b release/${{ inputs.version_name }}
- name: Push
run: git push origin release/${{ inputs.version_name }}