summaryrefslogtreecommitdiff
path: root/.github/scripts/check-changelog.sh
diff options
context:
space:
mode:
Diffstat (limited to '.github/scripts/check-changelog.sh')
-rwxr-xr-x.github/scripts/check-changelog.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/scripts/check-changelog.sh b/.github/scripts/check-changelog.sh
index 5402f490..d6887bc1 100755
--- a/.github/scripts/check-changelog.sh
+++ b/.github/scripts/check-changelog.sh
@@ -11,7 +11,7 @@ git fetch
echo $(git branch -a)
# Check if the changelog file was modified in the PR
-if git diff --name-only origin/$GITHUB_BASE_REF..$GITHUB_SOURCE_REF | grep -q $CHANGELOG_FILE; then
+if git diff --name-only origin/$GITHUB_BASE_REF..remotes/pull/$GITHUB_SOURCE_REF | grep -q $CHANGELOG_FILE; then
echo "Thank you for updating the changelog!"
exit 0
else