|
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
|
||
|---|---|---|
| config | ||
| docker | ||
| LICENSES | ||
| vendored | ||
| .gitignore | ||
| .woodpecker.yaml | ||
| codeberg_usage.md | ||
| config.scfg | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| README.md | ||
| REUSE.toml | ||
cibot
This bot can be used to automate access to Codeberg's Woodpecker CI. In more general terms users can create issues to request access to a Forgejo team and authorized users can approve those requests or later revoke the access with a comment.
To facilitate this users can create an issue on this repository.
This bot will receive webhooks from the repository and if an authorized user comments with a keyword, the collected usernames will be added to the CI team or removed from it.
Deployment
By default the bot will read a configuration file of the scfg format from
/etc/cibot/config.scfg. With the --config flag a different location can
be specified. The different settings are explained in the example file.
The repository containing the issues has to POST Forgejo webhooks to the cibot
with the "application/json" content type. "Secret" and "Authorization Header" are
supported to validate the webhook and protect the endpoint.