3 echo "looking for change log"
5 git remote add upstream https://git.pleroma.social/pleroma/pleroma.git
6 git fetch upstream ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}:refs/remotes/upstream/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME
8 git diff --raw --no-renames upstream/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME HEAD -- changelog.d | \
9 grep ' A\t' | grep '\.\(skip\|add\|remove\|fix\|security\|change\)$'
12 if [ $ret -eq 0 ]; then
13 echo "found a changelog entry"
16 echo "changelog entry not found"