Skip to content

Commit 6540c41

Browse files
authored
fix!: Change ListCheckSuiteOptions.AppID from int to int64 (#3633)
BREAKING CHANGE: Change `ListCheckSuiteOptions.AppID` from `int` to `int64`
1 parent 99ffabe commit 6540c41

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

github/checks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ func (s *ChecksService) ReRequestCheckRun(ctx context.Context, owner, repo strin
345345
// ListCheckSuiteOptions represents parameters to list check suites.
346346
type ListCheckSuiteOptions struct {
347347
CheckName *string `url:"check_name,omitempty"` // Filters checks suites by the name of the check run.
348-
AppID *int `url:"app_id,omitempty"` // Filters check suites by GitHub App id.
348+
AppID *int64 `url:"app_id,omitempty"` // Filters check suites by GitHub App id.
349349

350350
ListOptions
351351
}

github/checks_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ func TestChecksService_ListCheckSuiteForRef(t *testing.T) {
472472

473473
opt := &ListCheckSuiteOptions{
474474
CheckName: Ptr("testing"),
475-
AppID: Ptr(2),
475+
AppID: Ptr(int64(2)),
476476
ListOptions: ListOptions{Page: 1},
477477
}
478478
ctx := context.Background()

github/github-accessors.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/github-accessors_test.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)