Skip to content

Commit ee45551

Browse files
committed
fix: Added changes suggested by coderabbitai
Signed-off-by: Parv Ninama <[email protected]>
1 parent 90a68d1 commit ee45551

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/scripts/bot-pr-missing-linked-issue.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ module.exports = async ({ github, context }) => {
5353
}
5454

5555
if (!regex.test(body)) {
56+
const safeAuthor = authorLogin ?? 'there' ;
5657
const commentBody = [ `${LINKBOT_MARKER}` +
57-
`Hi @${prData.user.login}, this is **LinkBot** 👋`,
58+
`Hi @${safeAuthor}, this is **LinkBot** 👋`,
5859
``,
5960
`Linking pull requests to issues helps us significantly with reviewing pull requests and keeping the repository healthy.`,
6061
``,

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
173173
- 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.
174174

175175
### Fixed
176-
- Prevent LinkBot from posting duplicate “missing linked issue” comments on pull requests.
176+
- Prevent LinkBot from posting duplicate “missing linked issue” comments on pull requests. (#1475)
177177
- Refined intermediate assignment guard to validate Beginner issue completion with improved logging and GraphQL-based counting. (#1424)
178178
- Improved filename-related error handling with clearer and more descriptive error messages.(#1413)
179179
- Good First Issue bot no longer posts `/assign` reminders for repository collaborators. (#1367)

0 commit comments

Comments
 (0)