summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2023-05-17 17:31:20 -0600
committerDan Allen <dan.j.allen@gmail.com>2023-05-17 17:31:20 -0600
commit3a20e100fa82ccd04b932e380b250b406c22a03f (patch)
tree527f89376759f538002f09294cf7ee0ad76d81ce
parentcf922c993ebafde0427064c2d87938bdc873db58 (diff)
explicitly set --no-pager when calling git diff in CI workflow [no ci]
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4525ab89..641af013 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -121,7 +121,7 @@ jobs:
cd -
if [ -n "$(git diff --name-only -- data/stylesheets)" ]; then
echo 'Detected the following uncommitted changes to the default stylesheet:'
- git diff
+ git --no-pager diff
exit 1
fi
- name: Run tests