[PR #908] [CLOSED] [WIP] Issue webhook #15645

Closed
opened 2025-11-02 11:51:25 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/908
Author: @thehowl
Created: 2/11/2017
Status: Closed

Base: masterHead: issue-webhook


📝 Commits (10+)

📊 Changes

13 files changed (+255 additions, -76 deletions)

View changed files

📝 models/issue.go (+58 -68)
📝 models/issue_milestone.go (+18 -0)
📝 models/issue_milestone_test.go (+3 -1)
📝 models/webhook.go (+62 -1)
📝 models/webhook_test.go (+1 -1)
📝 modules/auth/repo_form.go (+1 -0)
📝 options/locale/locale_en-US.ini (+3 -1)
📝 routers/repo/webhook.go (+1 -0)
📝 templates/repo/settings/hook_settings.tmpl (+10 -0)
📝 vendor/code.gitea.io/sdk/gitea/hook.go (+28 -1)
📝 vendor/code.gitea.io/sdk/gitea/release.go (+0 -0)
vendor/code.gitea.io/sdk/gitea/user_gpgkey.go (+67 -0)
📝 vendor/vendor.json (+3 -3)

📄 Description

Depends on https://github.com/go-gitea/go-sdk/pull/38

Will resolve #132 and #895 partially (still needs issue/pr comments, which will be done in another PR, following the GitHub webhooks which separate between comments and other PR/issue events).

Currently only needs Slack webhooks, then we're good to go.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/908 **Author:** [@thehowl](https://github.com/thehowl) **Created:** 2/11/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `issue-webhook` --- ### 📝 Commits (10+) - [`a39db12`](https://github.com/go-gitea/gitea/commit/a39db12916f7185eb11b5e3cb50d313eb46874a4) Add Issue type of webhook - [`c63310f`](https://github.com/go-gitea/gitea/commit/c63310f816c4e0101271ea349b9afd5f2b1c4a85) Update sdk - [`0fe3c2c`](https://github.com/go-gitea/gitea/commit/0fe3c2c0a13f131d064919946bf9f9326676c843) Update sdk - [`ecf31a2`](https://github.com/go-gitea/gitea/commit/ecf31a27cc83e62cc9c909d7bbe3aa5a1c15a63e) Update sdk (again) - [`85b560a`](https://github.com/go-gitea/gitea/commit/85b560acf76b7495d72fc460f1472b0aef0197b3) Port existing PR hooks to issues - [`fb56435`](https://github.com/go-gitea/gitea/commit/fb56435541537a70f0926fbb1b4ddb8019ed7078) Fix TestWebhoook_EventsArray - [`962bebc`](https://github.com/go-gitea/gitea/commit/962bebc6330a0246f799cade046a885bfedbc850) Update sdk - [`e166e6d`](https://github.com/go-gitea/gitea/commit/e166e6d8102a36da9dbd19b8d861f71f631d2afd) Milestone webhooks - [`c6611f3`](https://github.com/go-gitea/gitea/commit/c6611f339fa13261ce1b1c44d756cb35218c8d37) Change event_*_desc to have milestones - [`9a76a9e`](https://github.com/go-gitea/gitea/commit/9a76a9eb1302fdf301a1bfae2c842e5176581a95) Fix test failing ### 📊 Changes **13 files changed** (+255 additions, -76 deletions) <details> <summary>View changed files</summary> 📝 `models/issue.go` (+58 -68) 📝 `models/issue_milestone.go` (+18 -0) 📝 `models/issue_milestone_test.go` (+3 -1) 📝 `models/webhook.go` (+62 -1) 📝 `models/webhook_test.go` (+1 -1) 📝 `modules/auth/repo_form.go` (+1 -0) 📝 `options/locale/locale_en-US.ini` (+3 -1) 📝 `routers/repo/webhook.go` (+1 -0) 📝 `templates/repo/settings/hook_settings.tmpl` (+10 -0) 📝 `vendor/code.gitea.io/sdk/gitea/hook.go` (+28 -1) 📝 `vendor/code.gitea.io/sdk/gitea/release.go` (+0 -0) ➕ `vendor/code.gitea.io/sdk/gitea/user_gpgkey.go` (+67 -0) 📝 `vendor/vendor.json` (+3 -3) </details> ### 📄 Description Depends on https://github.com/go-gitea/go-sdk/pull/38 Will resolve #132 and #895 partially (still needs issue/pr comments, which will be done in another PR, following the GitHub webhooks which separate between comments and other PR/issue events). Currently only needs Slack webhooks, then we're good to go. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:51:25 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15645