derek

Derek reduces fatigue by automating GitHub

Github星跟踪图

derek

Build Status
OpenFaaS
License: MIT

Derek App

Derek's logo

Derek reduces fatigue for maintainers by automating governance and delegating permissions to your team and community.

Follow @derekapp on Twitter.

User guide / documentation

From the team that brought you OpenFaaS - Serverless Functions Made Simple.

Core features

All features are modular and can be enabled/disabled as required:

  • Generate changelogs for releases with PRs merged and commits added
  • Let designated non-admin users manage Issues and PRs by commenting Derek <command> or /command
  • Enforce Developer Certificate of Origin (DCO) checking (optional)
  • Automatically label/flag PRs without a Description
  • Label PRs from first-time contributors
  • Detect spam PRs (from hacktoberfest)

Self-host, or use the free managed version.

User guide

Find out what Derek can do you for your project, community and team including all available commands and configuration options: Read the user-guide

Get Derek

You can use a managed Derek bot or self-host your own on OpenFaaS. Start here: Get Derek.

How do I work?

I'm designed to be installed as a GitHub App, but don't worry - I don't need a lot of permissions. Just access to issues and Pull Requests will do.

I'm not a long-running daemon.. I'd get bored that way. I work with webhooks - so deploy me to a Serverless platform like OpenFaaS and forget about me. Just apply oil from time to time.

This is me in action with the DCO-checking feature. If I find a commit that isn't signed off then I'll let the contributor know in a comment. Normally they edit their commits and re-push within a few minutes after re-reading the message.

Inspiration for Derek

The idea for a bot that could comment on issues or respond to activity is from the docker/docker or Moby project's bot called Poule. It's a much more complex long-running daemon which uses Personal Access Tokens (so needs to run as a full GitHub login). Derek is much simpler (so hackable) and can be installed with granular permissions.

Live demo here

Our users

Some of our users include:

See other users in our customers file

Backlog:

  • Derek as a managed GitHub App (SaaS)
  • Lock thread
  • Edit title of Issue/PR
  • Toggle the DCO-feature for those who don't need compliance
  • Show help messages such as how to join Slack or asking for a rebase via Derek message
  • Automate release notes based upon PRs closed
  • Add each commit to release notes

Future work:

  • Add merge feature based upon policy (in-progress)
  • Caching of customers / .DEREK.yml file
  • Observability of GitHub API Token rate limit
  • Add roles & actions
  • PR target branch checking (i.e. no PRs from master to master)

Maintainers and contributors

There are over a dozen contributors to Derek, but the following people have made the most impact.

Maintainers:

  • Alex Ellis - creator & lead maintainer
  • Martin Dekov (@martindekov) - co-maintainer

Hall of fame:

Alex Ellis created Derek to automate project maintainer duties around licensing and to help bring granular permissions back to GitHub. Derek has empowered contributors in the OpenFaaS community to run and maintain the project without needing full write access. OpenFaaS contributors continue to improve Derek so they can get the job done without fuss.

Contributions

Please follow the OpenFaaS contribution guide.

主要指标

概览
名称与所有者alexellis/derek
主编程语言Go
编程语言Go (语言数: 5)
平台
许可证MIT License
所有者活动
创建于2017-08-10 15:43:55
推送于2024-04-09 07:27:22
最后一次提交2024-04-09 08:26:47
发布数60
最新版本名称0.11.5 (发布于 )
第一版名称0.1.0 (发布于 )
用户参与
星数813
关注者数8
派生数68
提交数273
已启用问题?
问题数80
打开的问题数20
拉请求数81
打开的拉请求数5
关闭的拉请求数21
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?