Skip to content

Commit

Permalink
Invert logic
Browse files Browse the repository at this point in the history
  • Loading branch information
armandgrillet committed Aug 9, 2024
1 parent 3bcf252 commit 64dd2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/icassigner/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ type Action struct {

func (a *Action) Run(ctx context.Context, event *github.IssuesEvent, labelsInput string, dryRun bool) error {
labels := convertLabels(event.Issue.Labels)
if labelsInput == "" {
if labelsInput != "" {
labels = strings.Split(labelsInput, ",")
}

Expand Down

0 comments on commit 64dd2b6

Please sign in to comment.