Skip to content

Commit fd10a16

Browse files
authored
Update the bot PR description for updating lockfiles (#3910)
## Motivation and Context #3907 revealed that bot-generated PR description was not accurate. This PR improves the description to provide clearer guidance. ## Testing Verified that the new description was rendered as expected (as shown in [this dummy PR](#3909)) ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._
1 parent 92916b5 commit fd10a16

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/pull-request-updating-lockfiles.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,10 @@ jobs:
113113
env:
114114
GITHUB_TOKEN: ${{ secrets.RELEASE_AUTOMATION_BOT_PAT }}
115115
run: |
116+
echo -e 'If CI fails, commit the necessary fixes to this PR until all checks pass.\n\nIf changes are required to [crateNameToLastKnownWorkingVersions](https://github.com/smithy-lang/smithy-rs/blob/92916b5484cdfef9ff58540ebf5e845eeeccf860/aws/sdk/build.gradle.kts#L504), revert the first commit in the PR, run `./gradlew aws:sdk:cargoUpdateAllLockfiles`, and commit the updated lockfiles.' | \
116117
gh pr create \
117118
--title 'Run `cargo update` on the runtime lockfiles and the SDK lockfile' \
118-
--body 'If CI fails, commit the necessary fixes to this PR until all checks pass. If required, update entries in [crateNameToLastKnownWorkingVersions](https://github.com/smithy-lang/smithy-rs/blob/6b42eb5ca00a2dc9c46562452e495a2ec2e43d0f/aws/sdk/build.gradle.kts#L503-L504).' \
119119
--base ${{ inputs.base_branch }} \
120120
--head ${{ steps.branch-name-for-updating-lockfiles.outputs.branch_name }} \
121-
--label "needs-sdk-review"
121+
--label "needs-sdk-review" \
122+
--body-file -

0 commit comments

Comments
 (0)