Skip to content

Commit 804a38d

Browse files
authored
chore: update merge conflict bot message with web editor tips (hiero-ledger#1608)
Signed-off-by: RKNAGA18 <[email protected]> Signed-off-by: R NAGA ARJUN <[email protected]>
1 parent ea10db0 commit 804a38d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/scripts/bot-merge-conflict.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ module.exports = async ({ github, context, core }) => {
4444
return;
4545
}
4646

47-
const body = `Hi, this is MergeConflictBot.\nYour pull request cannot be merged because it contains **merge conflicts**.\n\nPlease resolve these conflicts locally and push the changes.\n\nTo assist you, please read:\n- [Resolving Merge Conflicts](https://github.com/${owner}/${repo}/blob/main/docs/sdk_developers/merge_conflicts.md)\n- [Rebasing Guide](https://github.com/${owner}/${repo}/blob/main/docs/sdk_developers/rebasing.md)\n\nThank you for contributing!\n<!-- \nFrom the Hiero Python SDK Team\n${BOT_SIGNATURE} -->`;
48-
47+
const body = `Hi, this is MergeConflictBot.\nYour pull request cannot be merged because it contains **merge conflicts**.\n\nPlease resolve these conflicts locally and push the changes.\n\n### Quick Fix for CHANGELOG.md Conflicts\nIf your conflict is only in **CHANGELOG.md**, you can resolve it easily using the [GitHub web editor](https://docs.github.com/en/codespaces/the-githubdev-web-based-editor):\n1. Click on the "Resolve conflicts" button in the PR\n2. Accept both changes (keep both changelog entries)\n3. Click "Mark as resolved"\n4. Commit the merge\n\nFor all other merge conflicts, please read:\n- [Resolving Merge Conflicts](https://github.com/${owner}/${repo}/blob/main/docs/sdk_developers/merge_conflicts.md)\n- [Rebasing Guide](https://github.com/${owner}/${repo}/blob/main/docs/sdk_developers/rebasing.md)\n\nThank you for contributing!\n<!-- \nFrom the Hiero Python SDK Team\n${BOT_SIGNATURE} -->`;
4948
if (dryRun) {
5049
console.log(`[DRY RUN] Would post comment to PR #${prNumber}: ${body}`);
5150
return;

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
222222
- Enhance TopicInfo `__str__` method and tests with additional coverage, and update the format_key function in `key_format.py` to handle objects with a \_to_proto method.
223223
- Update changelog workflow to trigger automatically on pull requests instead of manual dispatch (#1567)
224224
- Formatted key-related unit test files (`key_utils_test.py`, `test_key_format.py`, `test_key_list.py`) using the black formatter
225+
- chore: update maintainer guidelines link in MAINTAINERS.md (#1605)
226+
- chore: update merge conflict bot message with web editor tips (#1592)
225227

226228
### Fixed
227229
- Fix the next-issue recommendation bot to post the correct issue recommendation comment. (#1593)

0 commit comments

Comments
 (0)