summaryrefslogtreecommitdiffhomepage
path: root/tools/github
diff options
context:
space:
mode:
Diffstat (limited to 'tools/github')
-rw-r--r--tools/github/reviver/github.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/github/reviver/github.go b/tools/github/reviver/github.go
index c4b624f2a..d9773500e 100644
--- a/tools/github/reviver/github.go
+++ b/tools/github/reviver/github.go
@@ -110,6 +110,11 @@ func (b *GitHubBugger) Activate(todo *Todo) (bool, error) {
return true, fmt.Errorf("failed to reactivate issue %d: %v", id, err)
}
+ _, _, err = b.client.Issues.AddLabelsToIssue(ctx, b.owner, b.repo, id, []string{"revived"})
+ if err != nil {
+ return true, fmt.Errorf("failed to set label on issue %d: %v", id, err)
+ }
+
cmt := &github.IssueComment{
Body: github.String(comment.String()),
Reactions: &github.Reactions{Confused: github.Int(1)},