Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,11 @@ func addToProject(ctx context.Context, client *github.Client, eventID, columnID

err = validateGitHubResponse(res, err)
if err != nil {
// Catch error if the issue is already on that
if err.Message == "Project already has the associated issue" {
infoLog("Project already has the associated issue...skipping")
return nil
}
return err
}

Expand Down