Commit Graph
283 Commits
Author SHA1 Message Date
Gal Ofri 53cecba749 Support x-ratelimit-reset handling for secondary rate limits (#2775) 2023-05-14 07:34:50 -04:00
Glenn Lewis 0a6474043f Bump version of go-github to v52.0.0 (#2766) 2023-04-21 09:53:36 -04:00
Glenn Lewis 2317ed8816 Bump version of go-github to v51.0.0 (#2739) 2023-04-05 13:26:36 -04:00
Glenn Lewis cac943ec5b Bump version of go-github to v50.2.0 (#2710) 2023-03-17 13:58:47 -04:00
蒋航 14bb610698 Support HTTP Proxy from environment (#2686) 2023-03-08 13:23:40 -05:00
Glenn Lewis 4814a50d38 Bump version of go-github to v50.1.0 (#2673) 2023-02-23 20:01:13 -05:00
Christoph Jerolimov 8eac70f648 Fix parse token expiration (#2650)
Fixes: #2649 .
2023-01-31 21:51:43 -05:00
Gal Ofri @ Legit Security da244a46bd Add secondary rate limit handling (prevent remote requests) and fix primary rate limit categories (#2635)
Fixes: #2633.
2023-01-30 08:31:33 -05:00
Glenn Lewis b811c42b79 Bump version of go-github to v50 (#2647) 2023-01-26 17:03:04 -05:00
Miguel Elias dos Santos d386e490be Add JSON tag for ErrorResponse (#2641)
Fixes: #2640.
2023-01-26 16:38:36 -05:00
Ilia Choly 63c1dee2dd Add NewTokenClient (#2637)
Fixes: #2636.
2023-01-25 10:17:13 -05:00
Glenn Lewis 838d2238a6 Update minor version to v49.1.0 (#2623) 2023-01-10 19:57:24 -05:00
Glenn Lewis 3f0f3716e9 Bump version of go-github to v49 (#2616) 2023-01-03 23:43:37 -05:00
Glenn Lewis 9d020d70e3 Support new GitHub v3 API calendar-based versioning (#2581)
Fixes: #2580.
2022-12-09 11:22:41 -05:00
François de Metz 3b3cbf13d0 Add support for Dependabot alert endpoints (#2554) 2022-11-07 18:49:11 -05:00
Austin Vazquez 959861361f Remove references to io/ioutil package (#2547) 2022-11-07 08:41:12 -08:00
Glenn Lewis 6fe3a66cfa Bump version of go-github to v48 (#2501) 2022-10-17 20:30:47 -04:00
Glenn Lewis a6fe97486b Bump version of go-github library to v47 (#2441) 2022-08-22 18:48:21 -04:00
aboy e5e45dad21 Add hooks support for WebSub (formerly PubSubHubbub) protocol (#2397)
Fixes: #1265.
2022-08-21 17:31:23 -04:00
Glenn Lewis f6bffcf431 Bump version of go-github library to v46 (#2437) 2022-08-19 10:22:28 -04:00
Tim Rogers f2d99f17ea Include the version of go-github in User-Agent headers sent to the GitHub API (#2403) 2022-08-13 18:22:20 -04:00
Glenn Lewis 7a7a7f0943 Update URLs (#2373)
Fixes: #2360.
2022-05-24 08:43:48 -04:00
Sho Okada a58d5f0adf Add fields to RateLimits struct (#2340)
Fixes: #2339
2022-05-16 10:17:43 -04:00
Glenn Lewis 3e8a7f0fbe Clean up method return consistency (#2318) 2022-03-24 23:16:22 -04:00
Glenn Lewis 6cd5d410ec Remove code duplication (#2321) 2022-03-24 22:33:41 -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
Jille Timmermans 77b2d7586d Don't update the ratelimits if we got a response from a cache (#2273) 2022-02-17 11:15:14 -05:00
João Cerqueira a842efca65 Add support for the secret scanning API (#2281)
Fixes #2278.
2022-02-04 08:02:25 -08:00
John Jones 758d208e2b Add support for Dependabot secrets (#2248)
Fixes: #2246.
2022-01-12 22:17:08 -05:00
Ronan Pelliard 6bc0adb3a6 Fix secondary rate limits URL and improve documentation (#2229) 2021-12-16 12:48:20 -05:00
Glenn Lewis f5943dbb9a Fix since+page pagination bug (#2218) 2021-12-05 22:21:27 -05:00
Brian Langdon c6b75c116d Handle 'since' in addition to 'page' for pagination response (#2135) 2021-11-26 20:52:13 -05:00
Dalton Hubble a4ce810184 Parse Before/After Links into Response (#2154) 2021-11-15 11:55:08 -05:00
Andy Grunwald 103b67c99c Add comment to keep API preview headers around for GitHub Enterprise users (#2188) 2021-10-31 11:03:37 -04:00
Alexander Melentyev 14b70d536e Fix linters issues (#2104) 2021-09-26 23:02:34 -04:00
Ryan Mast 166dfadf03 Update repo community profile API (#2084) 2021-09-04 12:46:37 -04:00
Krishna Indani 5cea270124 Implement SCIM (#2062)
Fixes: #2030.
2021-09-03 12:25:00 -04:00
James Bowes b9d15249e8 Update Cursor comment to reference an existing method (#2042) 2021-08-16 07:22:33 -04:00
w-haibara 54ec837fb6 Add TokenExpiration to Response (#2031) 2021-08-06 10:37:48 -04:00
Glenn Lewis a12f9cdc3e Add Client method (#2016)
Fixes: #1859.
2021-07-21 13:57:54 -04:00
Yusuke Kuoka 3ad61691b5 Add support for listing and getting repository/organization webhook deliveries (#1934)
Fixes: #1933.
2021-07-13 13:05:37 -04:00
Alexis Gauthiez cfcb8e1140 Enable Client.RateLimits to bypass the rate limit check (#1907)
Fixes #1899.
2021-07-08 16:13:45 -04:00
Fabian Holler 30283c95f1 errorResponse: define struct types instead of using anonymous structs 2021-07-08 10:48:39 +02:00
Munia Balayil 7a077bbd73 Update error handling as per Go 1.13 guidelines (#1854)
Fixes: #1846.
2021-04-14 17:09:14 -04:00
Avinash Sridhar 94eb482f8d Add Audit Log REST API(Beta) Implementation (#1820) 2021-03-20 08:48:25 -04:00
Carlos Tadeu Panato Junior c550a55450 Implement billing services (#1797)
Fixes #1788 .
2021-02-09 11:50:16 -05:00
Adrien Delorme 9318e629ec Add client.BareDo to allow user to handle the body (#1772) 2021-01-13 15:45:25 -05:00
Glenn Lewis 7081b5fe34 Improve repos.go coverage (#1768) 2020-12-26 11:39:11 -05:00
Glenn Lewis a64f3a6d08 Update URLs (#1659) 2020-12-02 10:39:08 -05:00
Jamie df27af092f Add Enterprise ListRunners/RegistrationToken APIs (#1644) 2020-12-02 09:28:53 -05:00