From 0a0fd7ea21a6e1ddbd5ab984d5d284deb70374e4 Mon Sep 17 00:00:00 2001 From: Shuheng Liu Date: Tue, 7 Jan 2025 11:07:26 -0500 Subject: [PATCH] debug --- .github/workflows/changelog.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index f6c96d05..24ff4a28 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -29,11 +29,10 @@ jobs: - name: Check for updated CHANGELOG.md run: | git fetch origin ${{ github.event.pull_request.base.ref }} - echo "diffing HEAD" - git diff HEAD - - echo "running git diff between HEAD and target" - git diff origin/${{ github.event.pull_request.base.ref }}...HEAD + echo "diffing HEAD and HEAD^1" + git diff HEAD HEAD^1 + echo "diffing HEAD and HEAD^2" + git diff HEAD HEAD^2 if git diff --name-only origin/${{ github.event.pull_request.base.ref }}...HEAD | grep -q 'CHANGELOG.md'; then echo "CHANGELOG.md has been updated."