File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ chorrell
2+ LaurentGoderre
3+ pesho
4+ PeterDaveHello
5+ SimenB
6+ Starefossen
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ function message() {
7474function pr_payload() {
7575 local escaped_message
7676 local body
77+ local maintainers
7778
7879 escaped_message=" $( echo " ${COMMIT_MESSAGE} " | sed -E -e " s/\" /\\\\\" /g" ) "
7980
@@ -83,12 +84,16 @@ function pr_payload() {
8384 body=" Commit: https://github.com/${DOCKER_SLUG} /compare/${COMMIT_RANGE} "
8485 fi
8586
86- echo " {
87- \" title\" : \" Node: ${escaped_message} \" ,
88- \" body\" : \" ${body} \" ,
89- \" head\" : \" ${GITHUB_USERNAME} :${BRANCH_NAME} \" ,
87+ for maintainer in $( xargs < ACTIVE_MAINTAINERS) ; do
88+ maintainers=" $maintainers @$maintainer "
89+ done
90+
91+ printf " {
92+ \" title\" : \" Node: %s\" ,
93+ \" body\" : \" %s.\n cc %s\" ,
94+ \" head\" : \" %s\" ,
9095 \" base\" : \" master\"
91- }"
96+ }" " ${escaped_message} " " ${body} " " ${maintainers} " " ${GITHUB_USERNAME} : ${BRANCH_NAME} "
9297}
9398
9499function comment_payload() {
You can’t perform that action at this time.
0 commit comments