Skip to content

Commit 1ee286c

Browse files
authored
feat(bot): warn PR authors that unlinked PRs will be closed (hiero-ledger#1886)
Signed-off-by: Daniel Ntege <danientege785@gmail.com>
1 parent adb9725 commit 1ee286c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ module.exports = async ({ github, context }) => {
6060
`Linking pull requests to issues helps us significantly with reviewing pull requests and keeping the repository healthy.`,
6161
``,
6262
`🚨 **This pull request does not have an issue linked.**`,
63+
`If this PR remains unlinked, it will be automatically closed.`,
6364
``,
6465
`Please link an issue using the following format:`,
6566
'```',
@@ -98,4 +99,4 @@ module.exports = async ({ github, context }) => {
9899
console.error('Repository:', `${context.repo.owner}/${context.repo.repo}`);
99100
throw error;
100101
}
101-
};
102+
};

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
5858
- Added workflow documentation guide (`docs/github/04_workflow_documentation.md`) with best practices for documenting GitHub workflows and automation scripts (#1745)
5959
- Updated CodeRabbit workflow and script review instructions to nudge higher-quality patterns without imposing rigid rules (`#1799`)
6060
- Added hiero-sdk-js to the next issue recommendation bot (`#1847`)
61+
- feat(bot): warn PR authors that unlinked PRs will be closed (#1886)
6162

6263
## [0.2.0] - 2026-11-02
6364

0 commit comments

Comments
 (0)