Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const delete_issue = core.getInput('delete') || ''
})
}
if (eventPayload.pull_request && re.test(eventPayload.pull_request.head.ref) === false) {
core.setFailed(`The head branch of pull request ${eventPayload.pull_request.number} has an incorrent name. Please update the branch name to the approved regex naming convention format. Regex: ${regex} Flags: ${flags}`)
core.setFailed(`The head branch of pull request ${eventPayload.pull_request.number} has an incorrect name. Please update the branch name to the approved regex naming convention format. Regex: ${regex} Flags: ${flags}`)
}
if (event_name === 'delete' && ref_type === 'branch' && re.test(ref) === false) {
try {
Expand Down