diff --git a/.github/workflows/jira-workflow.yml b/.github/workflows/jira-workflow.yml index ff95e51..17e6bd0 100644 --- a/.github/workflows/jira-workflow.yml +++ b/.github/workflows/jira-workflow.yml @@ -29,7 +29,7 @@ jobs: } Set-JiraConfigServer -Server "${{ secrets.JIRA_URL }}" - if(${{ inputs.branch_name }} -match "[A-za-z]+[_-]+[0-9]+" -eq $False) + if("${{ inputs.branch_name }}" -match "[A-za-z]+[_-]+[0-9]+" -eq $False) { throw "Branch name ${{ inputs.branch_name }} doesn't respect the required pattern." }