summaryrefslogtreecommitdiff
path: root/tools/check-changelog
diff options
context:
space:
mode:
Diffstat (limited to 'tools/check-changelog')
-rw-r--r--tools/check-changelog5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/check-changelog b/tools/check-changelog
index 0b57c4d1e..1409be9f0 100644
--- a/tools/check-changelog
+++ b/tools/check-changelog
@@ -2,7 +2,10 @@
echo "looking for change log"
-git diff --raw $CI_MERGE_REQUEST_TARGET_BRANCH_NAME HEAD -- changelog.d | \
+git remote add upstream https://git.pleroma.social/pleroma/pleroma.git
+git fetch upstream ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}:refs/remotes/upstream/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME
+
+git diff --raw upstream/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME HEAD -- changelog.d | \
grep ' A\t' | grep '\.\(skip\|add\|remove\|fix\|security\)$'
ret=$?