From 721aa1877eb332591c1f765701519a0445f3fae4 Mon Sep 17 00:00:00 2001 From: Shuheng Liu Date: Tue, 7 Jan 2025 10:21:58 -0500 Subject: [PATCH] ci: debug changelog check with rev-parse --- .github/workflows/changelog.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 53f8faf6..62b597f4 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -15,6 +15,13 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + - name: Debug git refs + run: | + echo HEAD + git rev-parse HEAD + echo origin/${{ github.event.pull_request.base.ref }} + git rev-parse origin/${{ github.event.pull_request.base.ref }} + - name: Check for updated CHANGELOG.md run: | git fetch origin ${{ github.event.pull_request.base.ref }}