Skip to content

Commit

Permalink
Fix: Don't steal pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Nov 1, 2024
1 parent 4394c4e commit ab463b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github_app_geo_project/module/standard/changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def generate_changelog(
has_pr = False
for pull_request in commit.get_pulls():
has_pr = True
if pull_request.milestone is None:
if pull_request.milestone is None or pull_request.milestone.number == milestone.number:
authors = {Author(pull_request.user.login, pull_request.user.html_url)}
for commit_ in pull_request.get_commits():
if commit_.author is not None:
Expand Down

0 comments on commit ab463b5

Please sign in to comment.