Skip to content

Commit a909acf

Browse files
debug: show git state before oasdiff
1 parent 74fa59b commit a909acf

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

pr-comment/entrypoint.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ if [ "$composed" = "true" ]; then
2828
flags="$flags -c"
2929
fi
3030

31+
# Debug: show git state
32+
echo "=== git log --oneline -5 ==="
33+
git log --oneline -5 || true
34+
echo "=== git branch -a ==="
35+
git branch -a || true
36+
echo "=== git show origin/main:simple.yaml (first 5 lines) ==="
37+
git show origin/main:simple.yaml 2>&1 | head -5 || true
38+
echo "=== git show HEAD:simple.yaml (first 5 lines) ==="
39+
git show HEAD:simple.yaml 2>&1 | head -5 || true
40+
3141
# Run oasdiff changelog with JSON output
3242
if [ -n "$flags" ]; then
3343
changelog=$(oasdiff changelog "$base" "$revision" --format json $flags)

0 commit comments

Comments
 (0)