Skip to content

Commit

Permalink
fix(PL-2680): exclude gha bot from reviewers
Browse files Browse the repository at this point in the history
  • Loading branch information
silphid committed May 1, 2024
1 parent 90b98be commit 495c33e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/github/pull_request_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ func (p *PullRequestProvider) Create(params pr.CreateParams) (string, error) {
}

for _, reviewer := range params.Reviewers {
if reviewer == "github-actions[bot]" {
continue
}
args = append(args, "--reviewer", reviewer)
}

Expand Down

0 comments on commit 495c33e

Please sign in to comment.