Skip to content

Create a new hotfix branch #19

Create a new hotfix branch

Create a new hotfix branch #19

name: Create new hotfix branch v1.1
on:
workflow_dispatch:
inputs:
hotfix_name:
description: Hotfix branch name
required: true
jobs:
create-branch:
name: Create new branch v1.1
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/production'
steps:
- name: Create branch
uses: peterjgrainger/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branch: 'hotfix/${{ github.event.inputs.hotfix_name }}'