build: run xss-commit-linter verbosely
This commit is contained in:
committed by
Ned Batchelder
parent
24544aa395
commit
d1aa75e3f2
2
.github/workflows/quality-checks.yml
vendored
2
.github/workflows/quality-checks.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 2
|
||||
|
||||
- name: Fetch master for comparison
|
||||
- name: Fetch base branch for comparison
|
||||
run: git fetch --depth=1 origin ${{ github.base_ref }}
|
||||
|
||||
- name: Install Required System Packages
|
||||
|
||||
@@ -518,7 +518,7 @@ def run_xsscommitlint():
|
||||
_prepare_report_dir(xsscommitlint_report_dir)
|
||||
|
||||
sh(
|
||||
"{repo_root}/scripts/{xsscommitlint_script} | tee {xsscommitlint_report}".format(
|
||||
"{repo_root}/scripts/{xsscommitlint_script} -v | tee {xsscommitlint_report}".format(
|
||||
repo_root=Env.REPO_ROOT,
|
||||
xsscommitlint_script=xsscommitlint_script,
|
||||
xsscommitlint_report=xsscommitlint_report,
|
||||
|
||||
@@ -48,7 +48,7 @@ for i in "$@"; do
|
||||
shift # past argument=value
|
||||
;;
|
||||
-v|--verbose)
|
||||
VERBOSE=true
|
||||
show_verbose
|
||||
;;
|
||||
-h|--help|*)
|
||||
# help or unknown option
|
||||
@@ -85,9 +85,6 @@ if [ "$diff_files" = "" ]; then
|
||||
echo ""
|
||||
echo "No files linted."
|
||||
else
|
||||
if [ ${VERBOSE} ] ; then
|
||||
show_verbose
|
||||
fi
|
||||
for f in $diff_files; do
|
||||
echo ""
|
||||
echo "Linting $f:"
|
||||
|
||||
Reference in New Issue
Block a user