Skip to content

Commit f606f6b

Browse files
chore: add visible confirmation when unassigning issues (hiero-ledger#1535)
Signed-off-by: prishajaiswal75 <prisha.jaiswal.btech2023@sitpune.edu.in> Signed-off-by: prishajaiswal75 <164599457+prishajaiswal75@users.noreply.github.com>
1 parent a78d678 commit f606f6b

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/scripts/bot-unassign-on-comment.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,19 @@ module.exports = async ({ github, context }) => {
119119
assignees: [username],
120120
});
121121

122-
// Add hidden marker to track unassign
122+
const confirmationMessage =
123+
`✅ **@${username}, you’ve been unassigned from this issue.**\n\n` +
124+
`Thanks for letting us know! If you’d like to work on something else, ` +
125+
`feel free to browse our open issues.`;
126+
123127
await github.rest.issues.createComment({
124128
owner,
125129
repo,
126130
issue_number: issueNumber,
127-
body: marker,
131+
body: `${marker}\n\n${confirmationMessage}`,
128132
});
129133

134+
130135
console.log('[unassign] Unassign completed successfully', {
131136
requester: username,
132137
issueNumber,

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
114114
- Added technical docstrings and hardening (set -euo pipefail) to the pr-check-test-files.sh script (#1336)
115115
- Added prompt for coderabbit to review `Query` and it's sub-classes.
116116
- Add StakingInfo class ([1364](https://github.com/hiero-ledger/hiero-sdk-python/issues/1364))
117+
- Added a visible confirmation comment when a user unassigns themselves from an issue (#1506)
117118
- Added first-class support for EVM address aliases in `AccountId`, including parsing, serialization, Mirror Node population helpers.
118119

119120
### Changed

0 commit comments

Comments
 (0)