Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarkAndCloseForRepo ¶
func MarkAndCloseForRepo(context *ctx.Context, config Configuration) error
func MarkOrCloseIssue ¶
Types ¶
type Configuration ¶
type Configuration struct {
// Whether to actuall perform the action. If false, just outputs what *would* happen.
Perform bool
// Labels, in addition to "stale", which should be mark an issue as already stale.
StaleLabels []string
// If an issue has this label, it is not stale.
ExemptLabels []string
// After this duration, the next action is performed (either mark or close).
DormantDuration time.Duration
// Comment to leave on a stale issue if being marked.
// No comment is left if this is stale.
NotificationComment *github.IssueComment
}
Click to show internal directories.
Click to hide internal directories.