Skip to content

Global webhook #22788

@wenerme

Description

@wenerme

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

Activity

added
type/featureCompletely new functionality. Can only be merged if feature freeze is not active.
type/proposalThe new feature has not been accepted yet but needs to be discussed first.
on Feb 6, 2023
jolheiser

jolheiser commented on Feb 6, 2023

@jolheiser
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

delvh

delvh commented on Feb 6, 2023

@delvh
Member

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

jolheiser

jolheiser commented on Feb 6, 2023

@jolheiser
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

delvh commented on Feb 6, 2023

@delvh
Member

Ah, what I thought of was #14537.

added
issue/duplicateThe issue has already been reported.
and removed
type/proposalThe new feature has not been accepted yet but needs to be discussed first.
type/featureCompletely new functionality. Can only be merged if feature freeze is not active.
on Feb 7, 2023
locked and limited conversation to collaborators on May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/duplicateThe issue has already been reported.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @lunny@wenerme@jolheiser@delvh

        Issue actions

          Global webhook · Issue #22788 · go-gitea/gitea