Skip to content

Commit b4e1d93

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

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,10 @@ jobs:
3131
go.sum
3232
.golangci.yml
3333
assets-cmd: |
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-
4434
# Only compress assets if assets actually changed
4535
# The git diff relies on gits remote naming. The merge-flow checks out
4636
# $downstream as origin at the time of writing this code.
4737
if ! git diff --exit-code --name-only origin/main web/ui; then
48-
rm -rf web/ui/static
49-
make assets-compress
5038
find web/ui/static -type f -name '*.gz' -exec git add {} \;
5139
git add web/ui
5240
git diff --cached --exit-code --name-only || git commit -s -m "[bot] assets: generate"

0 commit comments

Comments
 (0)