Skip to content

Commit

Permalink
ci: even more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-shuliu committed Jan 7, 2025
1 parent 7364bdf commit 4093aa3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
run: |
git fetch origin ${{ github.event.pull_request.base.ref }}
git log
echo original HEAD
echo ${{ github.event.pull_request.head.sha }}
echo HEAD
git rev-parse HEAD
echo origin/${{ github.event.pull_request.base.ref }}
Expand All @@ -27,6 +29,12 @@ 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
if git diff --name-only origin/${{ github.event.pull_request.base.ref }}...HEAD | grep -q 'CHANGELOG.md'; then
echo "CHANGELOG.md has been updated."
else
Expand Down

0 comments on commit 4093aa3

Please sign in to comment.