gitea-bot/README.md

26 lines
761 B
Markdown

Gitea Bot
============================
This bot/server manages issues in gitea repositories.
## Webhooks
The bot provides some useful webhooks. Webhooks can either be enabled opt-in by
listing the required webhooks in the query-parameter `hooks` as a comma separated list
or enable all hooks by leaving the hooks parameter empty.
Send gitea events to `https://gitea-bot.nclazz.de/webhook`
### issueBranchName
Updates the branch name in the issues body. The name is created from the title,
issue number and optionally a `bug` label, resulting in the following format:
> `feature/{issue}-{title}`
the prefix is either`feature` or `bugfix`. Whitespaces in the title are replaced by
`-`.
### issueBranchRef
References matching branch to an existing issue.