Skip to content

Commit 0289b85

Browse files
authored
Merge branch 'main' into harden-verified-commits-workflow
Signed-off-by: cheese-cakee <farzanaman99@gmail.com>
2 parents 99e14fd + c2d857f commit 0289b85

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module.exports = async ({ github, context }) => {
3535
}
3636

3737
const body = prData.body || "";
38-
const regex = /\bFixes\s*:?\s*(#\d+)(\s*,\s*#\d+)*/i;
38+
const regex = /\b(Fixes|Closes|Resolves)\s*:?\s*(#\d+)(\s*,\s*#\d+)*/i;
3939

4040
const comments = await github.rest.issues.listComments({
4141
owner: context.repo.owner,

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
190190

191191
### Fixed
192192

193+
- Updated LinkBot regex in the GitHub Actions bot script to support "Closes" and "Resolves" keywords for improved PR body-link detection (#1465)
193194
- Fixed CodeRabbit plan trigger workflow running multiple times when issues are created with multiple labels by switching to labeled event trigger only. (#1427)
194195

195196
- Prevent LinkBot from posting duplicate “missing linked issue” comments on pull requests. (#1475)

0 commit comments

Comments
 (0)