Skip to content

Commit

Permalink
Add fix branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
heqianwang committed Mar 5, 2024
1 parent fcbd957 commit 2181a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/jira-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
Expand Down

0 comments on commit 2181a20

Please sign in to comment.