70 Commits
Author SHA1 Message Date
Yoo_LCD f293a76178 fix: Limit webhook payload size in ValidatePayloadFromBody (#4125) 2026-04-01 14:38:42 -04:00
Oleksandr Redko 4df43f6ddd refactor: Use sorting functions from slices instead of sort (#4020) 2026-02-16 15:27:04 -05:00
Oleksandr Redko c400937b9e docs: Use pkgsite links (#3591) 2025-06-09 09:58:24 -04:00
Oleksandr Redko 3c5408e78f chore: Use any instead of interface{} (#3584) 2025-06-03 09:33:46 -04:00
Pavlos Tzianos 462cda4535 Add support for registry_package event (#3545) 2025-04-13 06:21:43 -04:00
Glenn Lewis 550ecbe014 feat!: Remove Project (classic) support (#3380)
BREAKING CHANGE: All support for "Project (classic)" is removed and `Project` responses are replaced by `ProjectV2` (renamed from `ProjectsV2`).

Fixes: #3367.
2024-12-11 08:44:55 -05:00
Alexis Couvreur f349af0dab feat: Add custom_property events (#3379)
Fixes: #3207.
2024-12-10 11:16:58 -05:00
Aditya Mahendrakar a81279821d Add BranchProtectionConfigurationEvent and SecretScanningAlertLocationEvent (#3332) 2024-10-27 08:18:32 -04:00
Udit Namdev b93ab9149b Add Webhook for Repository ruleset (#3305)
Fixes: #3295.
2024-10-16 07:18:13 -04:00
Oleksandr Redko 1ffcddbd4e docs: Add dots at the end of sentences (#3325) 2024-10-11 12:08:23 -04:00
Ryo Shimada 3d410c20b3 Add support DeploymentReview Event, ReviewCustomDeploymentProtectionRule API, GetPendingDeployments API (#3254)
Fixes: #3252.
2024-09-26 09:28:54 -04:00
DiegoDev 662da6f8e9 Add type SponsorshipEvent (#3258)
Fixes: #2982.
2024-09-09 20:49:43 -04:00
WillAbides a54bc7da1d Use metadata to reconcile go-github with GitHub's OpenAPI descriptions (#2919) 2023-11-03 10:26:59 -04:00
WillAbides 66ed84deba Lint godoc comments (#2972) 2023-10-23 15:28:03 -04:00
Nikita Pivkin 8596515296 Add support for dependabot_alert webhook event (#2888)
Fixes: #2790.
2023-08-29 14:08:47 -04:00
Evan Anderson 1a4b1067cc Add WebhookTypes and EventForType methods (#2865)
Fixes: #2863.
2023-08-16 13:03:10 -04:00
Nikita Pivkin 3ecf12c987 Add support for projects_v2 and projects_v2_item webhook events (#2868) 2023-08-14 19:05:18 -04:00
Byron Wolfman 5ac6057667 Add support for the security and analysis webhook event (#2862)
Fixes: #2861.
2023-08-14 10:58:50 -04:00
nxya 461d387672 Implement installation_target webhook event type (#2829) 2023-07-19 08:57:34 -04:00
João Penteado 43ffb6abe3 Add support for personal_access_token_request webhook event type (#2826) 2023-07-15 08:03:32 -04:00
Luke Hinds 5a9f8f7d92 Add GitHub App event security_advisory (#2799)
Fixes: #2798.
2023-06-06 11:57:59 -04:00
Bo Huang 21df6e0800 Support deployment protection rule event type (#2773)
Fixes: #2774.
2023-05-14 07:36:26 -04:00
Will Norris b1c53f808b verify payload signature if present (#2732)
Fixes: #2731.
2023-04-01 13:16:19 -04:00
apurwaj2 a2087c7806 Add DicussionCommentEvent Webhook (#2678)
Fixes: #2497.
2023-03-06 12:43:30 -05:00
Austin Vazquez 959861361f Remove references to io/ioutil package (#2547) 2022-11-07 08:41:12 -08:00
Luke Young 16cdd7dcf4 Add merge_group webhook event via MergeGroupEvent and MergeGroup structs (#2556) 2022-11-05 02:56:00 -04:00
Glenn Lewis f6bffcf431 Bump version of go-github library to v46 (#2437) 2022-08-19 10:22:28 -04:00
Emil V 388289c9ef Add support for parsing code_scanning_alerts in webhooks (#2392)
Fixes: #2391.
2022-08-13 18:19:27 -04:00
Ludovic Fernandez 15b20d3292 Add 'repository_import' event (#2364) 2022-05-16 10:28:58 -04:00
Tais P. Hansen 1df4afdba0 Add support for the pull request review thread event (#2326)
Fixes #2324
2022-04-03 12:45:11 -04:00
Iain Steers 41cbf81925 Add SecretScanningAlertEvent Webhook (#2282)
Fixes: #2277.
2022-02-14 07:41:20 -05:00
Mani Bindra 6e66a89c76 Add DiscussionEvent webhook (google#2221) (#2230)
Fixes: #2221.
2022-01-03 13:07:00 -05:00
Abhishek Veeramalla ff33a554ef Fix comment references to webhook types (#2224) 2021-12-08 12:22:43 -05:00
Alexander Melentyev 14b70d536e Fix linters issues (#2104) 2021-09-26 23:02:34 -04:00
Madhura Bhogate 55021d5e6d Add BranchProtectionRuleEvent (#2102)
Fixes: #2098.
2021-09-23 12:39:18 -04:00
Aurelia bbd5d1919f Add struct for workflow_job event (#2038) 2021-09-03 12:29:24 -04:00
Marc Binder 7af5768a6a Expose event message headers, introduce a new way to read the body from an io.Reader (#1955)
Fixes: #1944.
2021-07-13 13:08:23 -04:00
Sagar Sonwane b60bde193f Handle MIME parameters in Content-Type Header (#1922)
Fixes: #1874.
2021-07-08 16:28:32 -04:00
Ben 3557c20406 Add support for pull_request_target webhook event (#1844) 2021-04-08 08:44:24 -04:00
Reinoud Kruithof 5cd6a0f481 Add support for the X-Hub-Signature-256 header (#1783)
This adds support for the "X-Hub-Signature-256" header and sets it as the preferred header.
The "X-Hub-Signature" header will still work as a fallback if the other header is not set.

Closes #592
2021-01-26 09:08:47 -08:00
Glenn Lewis a64f3a6d08 Update URLs (#1659) 2020-12-02 10:39:08 -05:00
Glenn Lewis 159b448168 Switch to new GitHub v3 API Documentation website (#1621) 2020-09-01 18:30:47 -04:00
Martin Holman b6aa4a7a0b Add content_reference event (#1597) 2020-08-21 23:01:25 -04:00
Nikolaos Kanakis 5d9ab32569 Add Workflow run and dispatch events (#1600) 2020-08-15 17:15:21 -04:00
Jake Krammer c4f1bb0ddd Handle package webhook (#1569)
Fixes: #1550.
2020-07-07 21:48:09 -04:00
Anurag Goel 407d73650d Handle github_app_authorization webhook (#1544)
Fixes: #1543.
2020-05-30 05:24:48 -04:00
Eivind 7c15ddab76 Add support for repository dispatches (#1306)
Fixes #1316.
2020-01-07 20:54:46 -05:00
Jordan Sussman 6688527555 Add support for UserEvent webhooks (#1302)
Fixes #1301.
2019-12-05 07:44:27 -05:00
Joshua Bezaleel Abednego e8bc002390 Support new webhook events and actions (#1163)
Fixes: #1160.
2019-04-25 07:46:09 -04:00
Jordan Brockopp 361aadb2cd No webhook secret (#1127) 2019-02-27 21:54:57 -05:00