Skip to content

Commit 856a2f3

Browse files
ci: correct PR description format for update versions automated PRs (#9376)
1 parent 228e4fc commit 856a2f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/bump-agent-versions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ else
2525
git add testing/integration/testdata/.upgrade-test-agent-versions.yml .package-version
2626

2727
nl=$'\n' # otherwise the new line character is not recognized properly
28-
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}\`\`\`"
28+
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}\`\`\`"
2929

3030
git commit -m "[$current_ref][Automation] Update versions" -m "$commit_desc"
3131
git push --set-upstream origin "$pr_branch"

0 commit comments

Comments
 (0)