File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,13 @@ jobs:
3737 if [ $? -eq 0 ]; then
3838 message="${message}\n*Status:* This is an unwritten Scorecard.\n"
3939
40- grep "Author: None" ${file} >/dev/null 2>&1
41- if [ $? -eq 0 ]; then
42- message="${message}\n*Author:* This scorecard needs an author.\n"
43- else
44- message="${message}\n*Author:* The submitter will be the author.\n"
45- fi
40+ grep "Author : None" ${file} >/dev/null 2>&1
41+ if [ $? -eq 0 ]; then
42+ message="${message}\n*Author:* This scorecard needs an author.\n"
43+ else
44+ message="${message}\n*Author:* The submitter will be the author.\n"
45+ fi
4646 fi
47+
4748 echo "message = ${message}"
4849 curl -X POST -H 'Content-type : application/json' --data "{\"text\":\"${message}\"}" ${{ env.SLACK_WEBHOOK_URL }}
You can’t perform that action at this time.
0 commit comments