Workaround to clean up old reviews on creating a new one (#28554) #13683
Annotations
7 errors and 1 warning
run tests:
tests/integration/api_pull_review_test.go#L329
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/requested_reviewers", repo.OwnerName, repo.Name, pullIssue.Index), &api.PullReviewRequestOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
|
run tests:
tests/integration/api_pull_review_test.go#L339
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/requested_reviewers", repo.OwnerName, repo.Name, pullIssue.Index), &api.PullReviewRequestOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
|
run tests:
tests/integration/api_pull_review_test.go#L350
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/reviews", repo.OwnerName, repo.Name, pullIssue.Index), &api.CreatePullReviewOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
|
run tests:
tests/integration/api_pull_review_test.go#L365
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/requested_reviewers", repo.OwnerName, repo.Name, pullIssue.Index), &api.PullReviewRequestOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
|
run tests:
tests/integration/api_pull_review_test.go#L384
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/reviews", repo.OwnerName, repo.Name, pullIssue.Index), &api.CreatePullReviewOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
|
run tests:
tests/integration/api_pull_review_test.go#L395
NewRequestWithJSON(t, http.MethodPost, fmt.Sprintf("/api/v1/repos/%s/%s/pulls/%d/reviews", repo.OwnerName, repo.Name, pullIssue.Index), &api.CreatePullReviewOptions{…}).AddTokenAuth undefined (type *"net/http".Request has no field or method AddTokenAuth)
|
run tests
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading