fix(ci): Correct remote ref fetch

This commit is contained in:
Jade Ellis committed 2026-06-27 01:00:33 +01:00
1 parent cee51d5717
commit 8a495a7d7f
1 file changed
+1 -1
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
git config --global http.${{ github.server_url }}/.extraheader "Authorization: basic $AUTH"
git clone "${{ github.event.repository.clone_url }}" repo.git --bare
git -C repo.git fetch origin refs/pull/${{ github.event.pull_request.number }}/merge
git -C repo.git fetch origin pull/${{ github.event.pull_request.number }}/head
# Check for Added (A) or Modified (M) files in changelog.d
CHANGELOG_CHANGES=$(git -C repo.git diff --name-status ${{ github.event.pull_request.base.sha }}...${{ github.event.pull_request.head.sha }} -- changelog.d/)