Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -123,6 +123,10 @@ func (t *GitTask) Validate(ctx context.Context) ValidationFeedback {
|
||||
if err != nil {
|
||||
return expect.Fatal("Could not fetch issue")
|
||||
}
|
||||
if issue == nil {
|
||||
expect.Fail("Issue could not be found. It may have been deleted; please recreate it and try again.")
|
||||
return expect.ValidationFeedback
|
||||
}
|
||||
|
||||
expect.Equal(issue.Assignee, "Me", "Issue Assignee")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user