32 Commits
Author SHA1 Message Date
Ajay Kemparaj f9fec07de4 feat: Require Go 1.26 and use new(expr) for pointer literals (#4481) 2026-08-28 12:18:49 -04:00
Oleksandr Redko 3215e0320e test: Remove redundant Marshal tests (#4266) 2026-06-04 09:22:07 -04:00
Dhananjay Mishra 0a16e22eba refactor: Use testJSONBody helper for request body assertions in tests (#4183) 2026-05-01 08:13:24 -04:00
Oleksandr Redko 5158bb8e5f chore: Improve testJSONMarshal (#4042) 2026-02-27 07:27:18 -05:00
Glenn Lewis 4505771989 Prefer %v over %d,%s and add fmtpercentv custom linter (#3756) 2025-10-05 21:39:53 -04:00
Oleksandr Redko 233fe03e17 test: Use t.Context() instead of context.Background() (#3750) 2025-10-03 08:09:47 -04:00
Steve Hipwell 6540c41b39 fix!: Change ListCheckSuiteOptions.AppID from int to int64 (#3633)
BREAKING CHANGE: Change `ListCheckSuiteOptions.AppID` from `int` to `int64`
2025-07-22 07:53:56 -04:00
Oleksandr Redko c44e9dd4b0 fix!: Typo in field names in the CheckSuite struct (#3444)
BREAKING CHANGE: `Rerequstable`=>`Rerequestable`, `RunsRerequstable`=>`RunsRerequestable`
2025-01-20 13:38:01 -05:00
Oleksandr Redko f66ed85955 feat: Deprecate and replace Bool,Int,Int64,String with Ptr using generics (#3355) 2024-12-10 21:36:09 -05:00
Glenn Lewis dc884c26ca Add t.Parallel to unit tests (#3297) 2024-10-05 07:29:05 -04:00
Glenn Lewis e56d378b96 refactor: Do not call teardown manually in tests (#3296) 2024-10-01 11:52:30 -04:00
Pranav Bansal ba862154cd Add missing fields to the checksuite event (#3278)
Fixes: #3277.
2024-09-21 10:05:06 -04:00
Leon Pham ce36651198 Add ReRequestCheckRun (#2358)
Fixes: #2357
2022-05-16 10:20:53 -04:00
Bracken dda48d02ef Revert "Remove graduated GitHub v3 API preview header (#1636)" (#2301)
This reverts commit 76c3c3d7c6.
2022-02-22 12:58:04 -05:00
Rojan Dinc 504516ee58 Update ListCheckRunsOptions with new field AppID (#2236)
Fixes #2231.
2022-01-01 21:49:01 -05:00
Sagar Sonwane dbca249244 Add test cases for JSON resource marshaling (#1937) 2021-07-08 16:35:32 -04:00
Sagar Sonwane 51e7595f87 fix: Updated comparisons in test files (#1875)
Replaced all reflect.DeepEqual comparisons in test files with cmp.Equal.

Fixes: #1851
2021-05-26 11:49:24 -07:00
Glenn Lewis 653916a994 Clean up coverage tests in checks_test.go (#1682) 2020-12-24 20:31:48 -05:00
Glenn Lewis 54cc03d33c Increase teams_discussion_comments.go coverage (#1680) 2020-12-18 23:24:23 -05:00
Glenn Lewis 000ab79e7b Increase checks.go code coverage (#1667) 2020-12-18 22:28:14 -05:00
Glenn Lewis 460db534b8 Refactor context.Background in tests (#1672) 2020-12-16 05:58:28 -05:00
ishan upadhyay bdb4266852 Remove HeadSHA parameter from UpdateCheckRunOptions (#1658)
Fixes #1652.
2020-12-02 10:54:44 -05:00
Nilesh Singh 76c3c3d7c6 Remove graduated GitHub v3 API preview header (#1636)
Fixes: #1634.
2020-10-04 17:37:05 -04:00
haya14busa 43a73bd5e0 Remove needless HeadBranch from Create/Update CheckRun APIs (#1292) 2019-12-05 07:43:27 -05:00
Michael Cristina c476c8213e Remove blob_href from check annotations (#1242) 2019-09-07 19:55:57 -04:00
Michael Cristina 9686ff0746 Add start and end column to Annotation (#1241) 2019-09-07 16:40:37 -04:00
Glenn Lewis 7da2d477e4 Fix unit test (#1193) 2019-06-13 20:16:12 -04:00
Ricco Førgaard 8bcc0479b1 Add tests for resource JSON marshaling and unmarshaling (#1189)
Helps #55.
2019-06-11 08:05:50 -04:00
Arda Kuyumcu a6b4602a91 Fix set check suite preferences options (#1156)
Fixes #1155.
2019-04-18 06:39:35 -04:00
Jesse Newland 7a180b5eed Support changes to the Checks REST API (#990)
Fixes #980.
2018-09-01 21:28:07 -04:00
Jesse Newland 0780c36270 Fix RequestCheckSuite (#978) 2018-08-27 20:39:50 -04:00
Avinash Sridhar b93adc1c7f Add checks api (#914)
Fixes #913.
2018-07-24 21:06:01 -04:00