From fa27ad22f848c2cfb32b9af95229f1088d41027f Mon Sep 17 00:00:00 2001 From: Panos Koutsovasilis Date: Mon, 18 Aug 2025 13:38:00 +0300 Subject: [PATCH] ci: correct PR description format for update versions automated PRs (#9376) (cherry picked from commit 856a2f326922a627485c19305b4ca062d0dc696a) --- .github/workflows/bump-agent-versions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bump-agent-versions.sh b/.github/workflows/bump-agent-versions.sh index 8656535f77e..e63468c5edb 100755 --- a/.github/workflows/bump-agent-versions.sh +++ b/.github/workflows/bump-agent-versions.sh @@ -25,7 +25,7 @@ else git add testing/integration/testdata/.upgrade-test-agent-versions.yml .package-version nl=$'\n' # otherwise the new line character is not recognized properly - commit_desc="These files are used for picking the starting (pre-upgrade) or ending (post-upgrade) agent versions in upgrade integration tests.${nl}${nl}The content is based on responses from https://www.elastic.co/api/product_versions and https://snapshots.elastic.co${nl}${nl}The current update is generated based on the following requirements:${nl}${nl}Package version: \`\`\`json${nl}${package_version}${nl}\`\`\`${nl}${nl}\`\`\`json${nl}${version_requirements}${nl}\`\`\`" + commit_desc="These files are used for picking the starting (pre-upgrade) or ending (post-upgrade) agent versions in upgrade integration tests.${nl}${nl}The content is based on responses from https://www.elastic.co/api/product_versions and https://snapshots.elastic.co${nl}${nl}The current update is generated based on the following requirements:${nl}${nl}\`.package-version\`${nl}${nl}\`\`\`json${nl}${package_version}${nl}\`\`\`${nl}${nl}\`testing/integration/testdata/.upgrade-test-agent-versions.yml\`${nl}${nl}\`\`\`json${nl}${version_requirements}${nl}\`\`\`" git commit -m "[$current_ref][Automation] Update versions" -m "$commit_desc" git push --set-upstream origin "$pr_branch"