Add the $maintainers to the PR's body instead of the commit

This should fix the notification spam caused by users pushing the
commits to their own repository.
This commit is contained in:
Kristian Klausen 2021-04-04 21:16:20 +02:00
parent eabc3c8b25
commit 18b9d9f730

View File

@ -281,11 +281,11 @@ publish:
- 'git commit
-m "archlinux: Release ${BUILD_VERSION}"
-m "This is an automated release [1]."
-m "Maintainers: ${maintainers}"
-m "[1] ${CI_PROJECT_URL}/-/blob/master/.gitlab-ci.yml"'
- git push -u origin "$head"
- gh pr create
- 'gh pr create
--repo docker-library/official-images
--fill
--title "$(git show --no-patch --format="%s")"
--body "$(printf "%s\n\n---\n\nMaintainers: ${maintainers}\n" "$(git show --no-patch --format="%b")")"
--base master
--head archlinux:"$head"
--head archlinux:"$head"'