-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Add X-GitHub-* headers #809
Conversation
@@ -538,6 +538,8 @@ func (t *HookTask) deliver() { | |||
req := httplib.Post(t.URL).SetTimeout(timeout, timeout). | |||
Header("X-Gogs-Delivery", t.UUID). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that's OK.
I don't believe that this will be enough to get integrated within clubhouse.io? |
@tboerger without this patch I got |
LGTM |
LGTM |
clubhouse.io has "GitHub integration", Gitea webhooks payload is almost identical to GitHub's one, but they require X-GitHub-* headers to work. By adding this aliases Gitea can be used with clubhouse.io without any problems