Skip to content

update the update-bot to edit PR description#17

Merged
jiangy10 merged 2 commits into
mainfrom
DEVSITE-2443
Jun 15, 2026
Merged

update the update-bot to edit PR description#17
jiangy10 merged 2 commits into
mainfrom
DEVSITE-2443

Conversation

@jiangy10

Copy link
Copy Markdown
Contributor

Issue

Update bot only writes the file mappings at PR creation and never check back again, which may lead to a description mismatch with changed files when there's multiple commit in the same PR

Fix

Each time when PR is updated (bot found existence of branch and PR so decided to push commit base on it), Bot will fetch the PR information and overwrite the PR description to reflect the latest change.

Test

AdobeDocs/adp-devsite-github-actions-test#152

PR creation

  • 1 commit
  • 1 file in PR description
  • 1 file changed
image

2 updates

  • 3 commit
  • 3 file in PR description
  • 3 file changed
image

Comment thread update-bot/src/index.js Outdated
@jiangy10 jiangy10 merged commit 0af2e1e into main Jun 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants