Skip to content

Commit e9217e4

Browse files
committed
debug prometheus
Signed-off-by: Coleen Iona Quadros <coleen.quadros27@gmail.com>
1 parent fca7381 commit e9217e4

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

.github/workflows/merge-acm-prometheus.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,16 @@ jobs:
3131
go.sum
3232
.golangci.yml
3333
assets-cmd: |
34-
# Force upstream Makefile in case of conflicts
35-
git checkout --theirs Makefile || true
36-
git add Makefile || true
34+
# Debug: Check Makefile state
35+
echo "=== Makefile lines 120-130 ==="
36+
sed -n '120,130p' Makefile || echo "Failed to read Makefile"
37+
echo "=== Test make syntax ==="
38+
if ! make -n assets-compress >/dev/null 2>&1; then
39+
echo "ERROR: Makefile has syntax errors!"
40+
echo "=== Lines with 'else' ==="
41+
grep -n 'else' Makefile || echo "No 'else' found"
42+
fi
43+
3744
# Only compress assets if assets actually changed
3845
# The git diff relies on gits remote naming. The merge-flow checks out
3946
# $downstream as origin at the time of writing this code.

0 commit comments

Comments
 (0)