Skip to content

Commit 7517b10

Browse files
cmd/gopherbot: remove auto-submit restriction
Run the Auto-Submit action alongside everything else now. Updates golang/go#48021 Change-Id: If7a109bfe0dc64e5b488713415193129e102640a Reviewed-on: https://go-review.googlesource.com/c/build/+/383274 Reviewed-by: Dmitri Shuralyov <[email protected]> Trust: Roland Shoemaker <[email protected]> Run-TryBot: Roland Shoemaker <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
1 parent 1d09d2e commit 7517b10

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cmd/gopherbot/gopherbot.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2261,12 +2261,6 @@ func (b *gopherbot) humanReviewersOnChange(ctx context.Context, change gerritCha
22612261
//
22622262
// See golang.org/issue/48021.
22632263
func (b *gopherbot) autoSubmitCLs(ctx context.Context) error {
2264-
// We only run this task if it was explicitly requested via
2265-
// the --only-run flag.
2266-
if *onlyRun == "" {
2267-
return nil
2268-
}
2269-
22702264
return b.corpus.Gerrit().ForeachProjectUnsorted(func(gp *maintner.GerritProject) error {
22712265
if gp.Server() != "go.googlesource.com" {
22722266
return nil

0 commit comments

Comments
 (0)