Skip to content

Commit a13b5d3

Browse files
committed
fix(ci): correct comparison and add debugging
1 parent 002e700 commit a13b5d3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/ci

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,16 @@ echo "########################################"
99
echo "#"
1010
echo "# Checking for unformatted/out of date files"
1111
echo "#"
12+
echo "# Ref: $GITHUB_REF"
13+
echo "# Base ref: $GITHUB_BASE_REF"
14+
echo "#"
1215
echo
1316

1417
echo "Undoing changes to autogenerated files"
1518
git checkout -- src/data/examples.json
1619
git checkout -- src/pages/postgraphile/usage-*.md
1720

18-
if [ "$GITHUB_TOKEN" != "" ] && [ "$GITHUB_BASE_REF" != "" ] && [ "$GITHUB_REF" == "ref/heads/develop" ]; then
21+
if [ "$GITHUB_TOKEN" != "" ] && [ "$GITHUB_BASE_REF" == "" ] && [ "$GITHUB_REF" == "ref/heads/develop" ]; then
1922
echo "GITHUB_TOKEN is specified"
2023

2124
# git diff-index only looks at modified timestamps; this update-index call

0 commit comments

Comments
 (0)