Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global webhook #22788

Closed
wenerme opened this issue Feb 6, 2023 · 4 comments
Closed

Global webhook #22788

wenerme opened this issue Feb 6, 2023 · 4 comments
Labels
issue/duplicate The issue has already been reported.

Comments

@wenerme
Copy link

wenerme commented Feb 6, 2023

Feature Description

I think it would be great if gitea has a global webhook, use cases

  1. use gitea as a mirror to trigger webhook for any repo, due to github do not support external webhooks.
  2. use gitea as corp private forge, a global webhook can used to trigger some automate functions.

org level webhook is not enough if

  1. want to mirror github
  2. don't limit user to one org

e.g.

I want to trigger webhook for grpc, frp, rclone etc.. to auto upgrade alpine aports, script is here , use cron to pull every repo is too much.

Screenshots

No response

@wenerme wenerme added type/feature Completely new functionality. Can only be merged if feature freeze is not active. type/proposal The new feature has not been accepted yet but needs to be discussed first. labels Feb 6, 2023
@jolheiser
Copy link
Member

Gitea already supports system-level webhooks.
https://docs.gitea.io/en-us/webhooks/
You can find them on your instance (as an admin) via <BASE_URL>/admin/hooks

@jolheiser jolheiser closed this as not planned Won't fix, can't repro, duplicate, stale Feb 6, 2023
@delvh
Copy link
Member

delvh commented Feb 6, 2023

(Isn't that only from 1.19 on?
Or what was the PR about it that was merged recently?)

@jolheiser
Copy link
Member

System-wide webhooks have been supported since 1.12

I can't think of any specific PR, other than the ARIA changes that touched the webhook pages.

@delvh
Copy link
Member

delvh commented Feb 6, 2023

Ah, what I thought of was #14537.

@lunny lunny added issue/duplicate The issue has already been reported. and removed type/proposal The new feature has not been accepted yet but needs to be discussed first. type/feature Completely new functionality. Can only be merged if feature freeze is not active. labels Feb 7, 2023
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
issue/duplicate The issue has already been reported.
Projects
None yet
Development

No branches or pull requests

4 participants