mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01:25 +01:00
fix: address verified review findings (admin-webhooks-keys-1)
Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
13 files changed
+268
-31
No files matched your search
@@ -261,7 +261,8 @@ Events: ` + strings.Join(services.WebhookEvents, ", ") + `; issues and pull_requ
|
||||
include every issue or pull request event.
|
||||
|
||||
Types: ` + strings.Join(services.WebhookTypes, ", ") + `. Slack webhooks need
|
||||
--config channel=#name; other types take their settings through --config too.`
|
||||
--config channel=#name (username, icon_url and color are optional). Gitea reads no other
|
||||
settings from --config, so set up discord, matrix and packagist webhooks in the web UI.`
|
||||
command.Example = `$ tea webhook create https://ci.example.com/hooks/gitea --events push,pull_request
|
||||
# sign deliveries with a secret read from a file
|
||||
$ tea webhook create https://ci.example.com/hooks/gitea --secret-file secret.txt
|
||||
|
||||
Reference in new issue
Block a user