Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix detection logic to determin Pull Requests from forked repo #653

Merged
merged 2 commits into from
Jun 29, 2020

Conversation

haya14busa
Copy link
Member

@haya14busa haya14busa commented Jun 29, 2020

  • Updated Unreleased section in CHANGELOG or it's not notable changes.

Head and base repos can be the same forked repo, so refering to head
repo's "fork" field was not enough.

Fix #603

@@ -24,15 +24,22 @@
} `json:"head_commit"`
}

type GitHubRepo struct {
Copy link
Contributor

Choose a reason for hiding this comment

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

[golint-pr-review] reported by reviewdog 🐶
exported type GitHubRepo should have comment or be unexported

Head and base repos can be the same *forked* repo, so refering to head
repo's "fork" field was not enough.

Fix #603
@haya14busa haya14busa closed this Jun 29, 2020
@haya14busa haya14busa reopened this Jun 29, 2020
@haya14busa haya14busa merged commit b6d7542 into master Jun 29, 2020
@haya14busa haya14busa deleted the fork-detect branch June 29, 2020 16:41
@haya14busa
Copy link
Member Author

tested: review-dog#2

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.

PullRequests *to* forked repo from the forked repo branch should be treated as normal PullRequest
2 participants