Skip to content
Agentmart
Submit a tool

gitea-webhooks

Use when managing Gitea webhooks — creating webhooks via API, understanding event types, system vs repo vs org webhooks, payload verification with…

Skill by Aidas-dev

IndexedMIT★ 4
Write a review

Chalk Labs

Need help deploying gitea-webhooks?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/aidas-dev-gitea-webhooks

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when managing Gitea webhooks — creating webhooks via API, understanding event types, system vs repo vs org webhooks, payload verification with HMAC-SHA256, and supported webhook formats.

Use cases: backend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Nov 1, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/gitea-webhooks

What's inside

Skill name
gitea-webhooks
Description
Use when managing Gitea webhooks — creating webhooks via API, understanding event types, system vs repo vs org webhooks, payload verification with HMAC-SHA256, and supported webhook formats.
License
MIT
Instructions
90 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Gitea Webhooks (v1.26)

## Events

| Event | Trigger |
|-------|---------|
| `push` | Git push |
| `create` / `delete` | Branch/tag created or deleted |
| `fork` | Repo forked |
| `issues` | Issue opened/closed/reopened/edited/deleted |
| `issue_assign` | Issue assigned/unassigned |
| `issue_label` | Issue labels updated |
| `issue_comment` | Comment on issue |
| `pull_request` | PR opened/closed/reopened/edited/synced |
| `pull_request_review_approved` | PR approved |
| `pull_request_review_rejected` | PR rejected |
| `pull_request_review_comment` | PR review comment |
| `pull_request_review_request` | Review requested |
| `wiki` | Wiki edited |
| `repository` | Repo created/deleted |
| `release` | Release published/updated/deleted |
| `package` | Package published |
| `status` | Commit status updated |
| `workflow_run` | Actions workflow run completed |
| `workflow_job` | Actions workflow job ready (autoscaling trigger) |

## API

```bash
# Create repo webhook
curl -X POST https://git.example.com/api/v1/repos/{owner}/{repo}/hooks \
  -H "Authorization: token <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "gitea",
    "config": {
      "url": "https://example.com/webhook",
      "content_type": "json",
      "secret": "my-secret"
    },
    "events": ["push", "pull_request"],
    "active": true
  }'

# List webhooks
curl https://git.example.com/api/v1/repos/{owner}/{repo}/hooks \
  -H "Authorization: token <token>"

# Delete webhook
curl -X DELETE https://git.example.com/api/v1/repos/{owner}/{repo}/hooks/{id} \
  -H "Authorization: token <token>"
```

## System vs Repo Webhooks

| Type | Scope | API Endpoint |
|------|-------|-------------|
| Repository | Single repo | `POST /api/v1/repos/{owner}/{repo}/hooks` |
| Organization | All repos in org | `POST /api/v1/orgs/{org}/hooks` |
| System | All repos instance-wide | `POST /api/v1/admin/hooks` (`config.is_system_webhook: true`) |
| Default | Template for new repos | `POST /api/v1/admin/hooks` (`config.is_system_webhook: false`) |

## Payload Verification

Gitea signs the raw request body with HMAC-SHA256 using the configured secret.

**Header:** `X-Gitea-Signature`

**Verify server-side:**
```python
import hmac, hashlib

signature = request.headers.get("X-Gitea-Signature")
expected = hmac.new(secret.encode(), request.body, hashlib.sha256).hexdigest()
if not hmac.compare_digest(signature, expected):
    abort(401)
```

## Webhook Types (format)

`gitea` (generic JSON), `gogs`, `slack`, `discord`, `dingtalk`, `telegram`, `msteams`, `feishu`, `wechatwork`, `packagist`.

## Common Mistakes

- **HMAC algorithm** — Gitea uses SHA256, not SHA1. Check `X-Gitea-Signature` header.
- **System webhook flag** — Must set `config.is_system_webhook` to `true` for instance-wide webhooks. Defaults to false (template webhook).
- **Event names** — Use snake_case in API: `pull_request`, `issue_comment`. Verify against docs.
- **workflow_job for autoscaling** — Use `workflow_job` event (not `workflow_run`) to trigger ephemeral runner spin-up.

From Aidas-dev/k8s-agent-skills, MIT.

More from Aidas-dev/k8s-agent-skills

Signals

Stars
4
Forks
3
Open issues
0
Last commit (this folder)
Jun 1, 2026 (5 months ago)
Last release
Aug 14, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Aidas-dev

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get gitea-webhooks running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying gitea-webhooks?

CallGet help
Cite this page

gitea-webhooks skill. Agent Mart. https://agentmart.dev/skills/aidas-dev-gitea-webhooks (last updated 2026-10-24)