Skip to content

Commit

Permalink
added inline comment
Browse files Browse the repository at this point in the history
  • Loading branch information
shuyama1 committed Feb 27, 2025
1 parent fe01d79 commit 417bf3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .ci/magician/cmd/create_test_failure_ticket.go
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ func createTicket(ctx context.Context, gh *github.Client, testFailure *testFailu
failureRatelabel,
}

// Apply service labels to forward test failure ticket automatically
regexpLabels, err := labeler.BuildRegexLabels(labeler.EnrolledTeamsYaml)
if err != nil {
return fmt.Errorf("error building regex labels: %w", err)
Expand Down
1 change: 1 addition & 0 deletions .ci/magician/cmd/manage_test_failure_ticket.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ func execManageTestFailureTicket(now time.Time, gh *github.Client) error {
return err
}

// Remove review labels to forward test failure tickets
for _, issue := range issues {
_, err := gh.Issues.RemoveLabelForIssue(ctx, GithubOwner, GithubRepo, issue.GetNumber(), "forward/review")
if err != nil {
Expand Down

0 comments on commit 417bf3f

Please sign in to comment.