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 8484a386..8d4ac0df 100755
--- a/.github/scripts/check-changelog.sh
+++ b/.github/scripts/check-changelog.sh
@@ -4,7 +4,7 @@ set -e
CHANGELOG_FILE="changelog.md"
-git fetch
+git fetch origin $GITHUB_BASE_REF
# Check if the changelog file was modified in the PR
if git diff --name-only origin/$GITHUB_BASE_REF..$GITHUB_HEAD_REF | grep -q $CHANGELOG_FILE; then