dcoapp / app

GitHub App that enforces the Developer Certificate of Origin (DCO) on Pull Requests
https://github.com/apps/dco
ISC License
299 stars 75 forks source link

Organization-wide configuration #93

Closed smola closed 2 years ago

smola commented 5 years ago

It would be great to be able to do more fine-grained organization-wide configuration, such as being able to set default value for require_signoff_for_members https://github.com/probot/dco/pull/52

hiimbex commented 5 years ago

Totally 👍 for this! Any interest in implementing it @smola?

smola commented 5 years ago

@hiimbex I have no bandwidth for this at the moment, sorry!

stale[bot] commented 5 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

davidkarlsen commented 3 years ago

@smola any pointers to where and how this should be implemented? I could try a PR?

gr2m commented 3 years ago

Probot supports organization-wide configuration out-of-the-box. You can create a .github/dco file in the organization's .github repository, or use the _extends option, see https://probot.github.io/docs/best-practices/#store-configuration-in-the-repository

loading the configuration is taking place here: https://github.com/probot/dco/blob/6f7272e0b1e31ea3f82fa06d65a49f47ffd54223/index.js#L17-L22

If you like to send a pull request, please also add a test for the new functionality

Probot
Best practices
GitHub Apps to automate and improve your workflow
stale[bot] commented 3 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?