slatify icon indicating copy to clipboard operation
slatify copied to clipboard

[Bug] action fails if there is '#' in the branch name

Open BroHPotato opened this issue 4 years ago • 1 comments

Hi, the action fails if the # character is present in the branch name, this is the report on the action tab:

Run homoluctus/[email protected]
  with:
    type: Success
    job_name: CONTROLLO Pull Request
    mention: here
    mention_if: failure
    channel: #devops_documentazione
    username: Docs Pull Request Patrol
    url: ***
    commit: true
    token: ***
##[error]No commit found for SHA: feature/wrVerbaleEsterno

the actual branch name is feature/wrVerbaleEsterno#25

BroHPotato avatar May 13 '20 15:05 BroHPotato

The spec describes usage of # to make comments. Wrap the channel name with quotation marks like so:

channel: '#devops_documentazione'

clarencecastillo avatar Jun 11 '20 00:06 clarencecastillo