diff options
Diffstat (limited to '.travis/labeler.sh')
-rwxr-xr-x | .travis/labeler.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis/labeler.sh b/.travis/labeler.sh index 79ea85f145..47bf250a04 100755 --- a/.travis/labeler.sh +++ b/.travis/labeler.sh @@ -24,8 +24,8 @@ for STATE in "open" "closed"; do URL="https://api.github.com/repos/netdata/netdata/issues/$ISSUE" BODY="$(curl "${URL}" | jq .body 2>/dev/null)" case "${BODY}" in - *"##### Question summary"* ) curl -H "Authorization: token $GITHUB_TOKEN" -d '{"labels":["question"]}' -X PATCH "${URL}" ;; - *"##### Bug report summary"* ) curl -H "Authorization: token $GITHUB_TOKEN" -d '{"labels":["bug"]}' -X PATCH "${URL}" ;; + *"# Question summary"* ) curl -H "Authorization: token $GITHUB_TOKEN" -d '{"labels":["question"]}' -X PATCH "${URL}" ;; + *"# Bug report summary"* ) curl -H "Authorization: token $GITHUB_TOKEN" -d '{"labels":["bug"]}' -X PATCH "${URL}" ;; * ) curl -H "Authorization: token $GITHUB_TOKEN" -d '{"labels":["needs triage"]}' -X PATCH "${URL}" ;; esac done |