diff --git a/ci/check-changelog.sh b/ci/check-changelog.sh index eb24e76010..c8862c32cd 100755 --- a/ci/check-changelog.sh +++ b/ci/check-changelog.sh @@ -18,7 +18,7 @@ contains_changelog () { is_dependabot_pr() { local key gpg_dir - if [ "1" = "$(git rev-list ${1:-origin/master}.. | wc -l)" ] && [ "dependabot[bot]" = "$(git show -s --format=%an)" ]; then + if [ "1" = "$(git rev-list $1.. | wc -l)" ] && [ "dependabot[bot]" = "$(git show -s --format=%an)" ]; then key=$(mktemp) cat > $key <