Help us shape the future of Go! Take the 2026 Go Developer Survey

automergequeue

package
v3.1.61 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2026 License: MIT, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AddToQueue = func(pr *issues_model.PullRequest, sha string) {
	log.Trace("Adding pullID: %d to the pull requests patch checking queue with sha %s", pr.ID, sha)
	if err := AutoMergeQueue.Push(fmt.Sprintf("%d_%s", pr.ID, sha)); err != nil && !errors.Is(err, queue.ErrAlreadyInQueue) {
		log.Error("Error adding pullID: %d to the pull requests patch checking queue %v", pr.ID, err)
	}
}
View Source
var AutoMergeQueue *queue.WorkerPoolQueue[string]

Functions

func StartPRCheckAndAutoMerge

func StartPRCheckAndAutoMerge(ctx context.Context, pull *issues_model.PullRequest)

StartPRCheckAndAutoMerge start an automerge check and auto merge task for a pull request

Types

This section is empty.

Source Files

  • automergequeue.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL