Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #55 from heiko-braun/disable_progress_label
Browse files Browse the repository at this point in the history
Disable progress labels for now
  • Loading branch information
heiko-braun authored Oct 12, 2018
2 parents 1d8b08f + e4975d1 commit 25bec94
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/webhook/board_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,13 @@ func (h *boardUpdate) handleIssuesEvent(event *github.IssuesEvent, gh *github.Cl

func changeProgressLabel(gh *github.Client, repo *github.Repository, issue github.Issue, newLabel string) {

clearProgressLabel(issue, gh, repo)
/*clearProgressLabel(issue, gh, repo)
labels := []string{"progress/" + newLabel}
gh.Issues.AddLabelsToIssue(context.Background(), repo.Owner.GetLogin(), repo.GetName(),
issue.GetNumber(), labels)
issue.GetNumber(), labels)*/

}

func clearProgressLabel(issue github.Issue, gh *github.Client, repo *github.Repository) {
Expand Down

0 comments on commit 25bec94

Please sign in to comment.