mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-21 01:23:40 +00:00
feat: add gitea/forgejo support
This commit is contained in:
1 parent
ace036c209
commit
aec0d1a257
43 files changed
+683
-130
No files matched your search
@@ -99,6 +99,14 @@ Your worker is now live at `https://webhooker.<your-subdomain>.workers.dev`.
|
||||
2. Set **Webhook URL** to `https://webhooker.<your-subdomain>.workers.dev/webhook`
|
||||
3. Set **Webhook secret** to match `GITHUB_WEBHOOK_SECRET`
|
||||
|
||||
### 6. (Optional) Configure Gitea Webhook
|
||||
|
||||
1. In your Gitea repo, go to **Settings → Webhooks → Add Webhook → Gitea**
|
||||
2. Set **Target URL** to `https://webhooker.<your-subdomain>.workers.dev/webhook`
|
||||
3. Set **HTTP Method** to `POST` and **Content Type** to `application/json`
|
||||
4. Set **Secret** to match `GITEA_WEBHOOK_SECRET`
|
||||
5. Choose the events to trigger (push, issues, pull requests, releases, ...)
|
||||
|
||||
## GitHub App Setup
|
||||
|
||||
### 1. Create App
|
||||
|
||||
Reference in new issue
Block a user