Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-shuliu committed Jan 7, 2025
1 parent 4093aa3 commit 0a0fd7e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 0a0fd7e

Please sign in to comment.