gitea-bot/README.md

26 lines
761 B
Markdown
Raw Permalink Normal View History

2022-07-08 22:43:57 +02:00
Gitea Bot
============================
2022-07-09 00:43:40 +02:00
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
2022-07-09 01:06:27 +02:00
`-`.
### issueBranchRef
References matching branch to an existing issue.