Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion github/checks.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ type CheckRunOutput struct {
// CheckRunAnnotation represents an annotation object for a CheckRun output.
type CheckRunAnnotation struct {
Path *string `json:"path,omitempty"`
BlobHRef *string `json:"blob_href,omitempty"`
StartLine *int `json:"start_line,omitempty"`
EndLine *int `json:"end_line,omitempty"`
StartColumn *int `json:"start_column,omitempty"`
Expand Down
4 changes: 0 additions & 4 deletions github/checks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ func TestChecksService_ListCheckRunAnnotations(t *testing.T) {
})
fmt.Fprint(w, `[{
"path": "README.md",
"blob_href": "https://github.com/octocat/Hello-World/blob/837db83be4137ca555d9a5598d0a1ea2987ecfee/README.md",
"start_line": 2,
"end_line": 2,
"start_column": 1,
Expand All @@ -167,7 +166,6 @@ func TestChecksService_ListCheckRunAnnotations(t *testing.T) {

want := []*CheckRunAnnotation{{
Path: String("README.md"),
BlobHRef: String("https://github.com/octocat/Hello-World/blob/837db83be4137ca555d9a5598d0a1ea2987ecfee/README.md"),
StartLine: Int(2),
EndLine: Int(2),
StartColumn: Int(1),
Expand Down Expand Up @@ -506,7 +504,6 @@ func Test_CheckRunMarshal(t *testing.T) {
Annotations: []*CheckRunAnnotation{
{
AnnotationLevel: String("a"),
BlobHRef: String("b"),
EndLine: Int(1),
Message: String("m"),
Path: String("p"),
Expand Down Expand Up @@ -598,7 +595,6 @@ func Test_CheckRunMarshal(t *testing.T) {
"annotations": [
{
"path": "p",
"blob_href": "b",
"start_line": 1,
"end_line": 1,
"annotation_level": "a",
Expand Down
8 changes: 0 additions & 8 deletions github/github-accessors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.