8000 Automatically link backport PRs to issues in Development by mabartos · Pull Request #95 · keycloak/keycloak-github-bot · GitHub
[go: up one dir, main page]

Skip to content

Automatically link backport PRs to issues in Development - #95

Open
mabartos wants to merge 1 commit into
keycloak:mainfrom
mabartos:KC-94
Open

mabartos wants to merge 1 commit into
keycloak:mainfrom
mabartos:KC-94

Conversation

@mabartos
Copy link
Copy Markdown
Member
  • Closes Automatically link backport PRs to issues in Development #94
  • Automatically link release-branch backport PRs to referenced issues in Development
  • Handle opened, edited, and reopened PRs using closing references in their descriptions
  • Add focused tests for linking and reference parsing
  • Automatic linking requires GitHub App permission to link PRs to issues.

cc: @stianst

@mabartos
mabartos marked this pull request as ready for review October 14, 2026 10:53
@stianst stianst self-assigned this Oct 14, 2026
@stianst
stianst self-requested a review October 14, 2026 12:30
@stianst stianst left a comment •
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not use the repository.mainRepository config option, but rather only link PRs to issue if they are in the same repo. Effectively only support Closes/fixes #issue, not the cross-repo approach.

Please extract the part that parses the body to pull out fixed issues into a separate utility, and also provide some unit test for that.

Closes keycloak#94

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
@mabartos
Copy link
Copy Markdown
Member Author

@stianst Should be ready for another review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automatically link backport PRs to issues in Development

2 participants

0