You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently this the code for interpreting !bounty assignments
// parse the comment here to give a bountycomment_text_parts:=strings.Split(parsed_hook.Comment.Body, " ")
ifcomment_text_parts[0] =="!bounty" {
// Convert the pointspoints, err:=strconv.Atoi(comment_text_parts[1])
...
This is obviously prone to problems if the maintainer were to accidentally place a whitespace before !bounty in their comments and other such formatting bugs. Fix all formatting bugs that might happen accounting for common maintainer comments formats (like newline after bounty points number etc)
To refresh this is bounty assign comment format:
!bounty <bounty_points>
Eg:
!bounty 30
This is a comment that needs to be made on a PR (and not a issue) which assigns <bounty_points> to the user who created the PR
The text was updated successfully, but these errors were encountered:
Currently this the code for interpreting
!bounty
assignmentsThis is obviously prone to problems if the maintainer were to accidentally place a whitespace before !bounty in their comments and other such formatting bugs. Fix all formatting bugs that might happen accounting for common maintainer comments formats (like newline after bounty points number etc)
To refresh this is bounty assign comment format:
!bounty <bounty_points>
Eg:
!bounty 30
This is a comment that needs to be made on a PR (and not a issue) which assigns <bounty_points> to the user who created the PR
The text was updated successfully, but these errors were encountered: