Skip to content

Commit

Permalink
Close #26: Return all open PRs instead of filtering by date
Browse files Browse the repository at this point in the history
  • Loading branch information
ctreatma committed May 21, 2020
1 parent a2ec386 commit dcf8231
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions check.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ Loop:
if request.Source.BaseBranch != "" && p.PullRequestObject.BaseRefName != request.Source.BaseBranch {
continue
}
// Filter out commits that are too old.
if !p.Tip.CommittedDate.Time.After(request.Version.CommittedDate) {
continue
}

// Filter out pull request if it does not contain at least one of the desired labels
if len(request.Source.Labels) > 0 {
Expand Down

0 comments on commit dcf8231

Please sign in to comment.