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:
37
37
if [ $? -eq 0 ]; then
38
38
message="${message}\n*Status:* This is an unwritten Scorecard.\n"
39
39
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
46
46
fi
47
+
47
48
echo "message = ${message}"
48
49
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