From 8c205cbc1d732b0276eddfe06001e9a4d75e6b16 Mon Sep 17 00:00:00 2001 From: SuperQ Date: Tue, 30 May 2023 18:39:18 +0200 Subject: [PATCH] skip_changelog: Fix version updater DCO DCO sign-off needs to be part of the commit, not required in the PR message. Signed-off-by: SuperQ --- .github/scripts/version_updater.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/version_updater.sh b/.github/scripts/version_updater.sh index af66b520d..95dc4933e 100755 --- a/.github/scripts/version_updater.sh +++ b/.github/scripts/version_updater.sh @@ -96,7 +96,7 @@ git add \ "roles/${role}/defaults/main.yml" \ "roles/${role}/meta/argument_specs.yml" \ "roles/${role}/README.md" -git commit -m 'patch: :tada: automated upstream release update' +git commit --signoff -m 'patch: :tada: automated upstream release update' echo_green "Pushing to ${update_branch} branch in ${role}" if ! git push "https://${GITHUB_TOKEN}:@github.com/${GIT_REPO}" --set-upstream "${update_branch}"; then echo_yellow "Branch push failed." @@ -107,7 +107,7 @@ if ! post_pull_request \ "patch: New ${source_repo} upstream release!" \ "main" \ "${update_branch}" \ - "The upstream [${source_repo}](https://github.com/${source_repo}/releases) released new software version - **${version}**!\n\nThis automated PR updates code to bring new version into repository.\n\nSigned-off-by: ${GIT_USER} <${GIT_MAIL}>" ; then + "The upstream [${source_repo}](https://github.com/${source_repo}/releases) released new software version - **${version}**!\n\nThis automated PR updates code to bring new version into repository." ; then echo_red "Pull request failed" exit 1 fi