Skip to content

Commit e88f2c3

Browse files
committed
debug pull-request checking
1 parent f4da92a commit e88f2c3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/pull_requests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
(terraform -chdir=quickstarts fmt -check -recursive -list=false) || error=true
2929
terraform -chdir=quickstarts fmt -diff -recursive
3030
if ${error}; then
31-
echo -e "\031[1m[ERROR]\031[0m: Some quickstarts codes has not been formatted, and please running terraform fmt --recursive command before pushing."
32-
exit 1
31+
echo -e "\033[31m[ERROR]\033[0m: Some quickstarts codes has not been formatted, and please running terraform fmt --recursive command before pushing."
32+
exit 1
3333
fi
3434
3535
pre-pr-check:

scripts/terraform-validate.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ do
99
terraform -chdir=$f init -upgrade
1010
terraform -chdir=$f validate
1111
if [[ $? -ne 0 ]]; then
12-
echo -e "\031[1m[ERROR]\031[0m: Some quickstarts codes contain errors, and please running terraform validate command before pushing."
12+
echo -e "\033[31m[ERROR]\033[0m: Some quickstarts codes contain errors, and please running terraform validate command before pushing."
1313
exit 1
1414
fi
1515
done

0 commit comments

Comments
 (0)