alexellis / derek

Reduce maintainer fatigue by automating GitHub
https://github.com/alexellis/derek/blob/master/USER_GUIDE.md
MIT License
806 stars 72 forks source link

Add contributing URL field to .DEREK.yml #88

Closed viveksyngh closed 5 years ago

viveksyngh commented 5 years ago

This commit adds contributing_url field to the .DEREK.yml file to point to contribution guide.

Signed-off-by: Vivek Singh vivekkmr45@yahoo.in

Description

Motivation and Context

How Has This Been Tested?

Test result and process added in comments below.

Types of changes

Checklist:

alexellis commented 5 years ago

LGTM. Can we find away to test it - or if that's too hard in the final method to figure out the URL outside and inject it then test that new method?

viveksyngh commented 5 years ago

I think we can write a method to figure out URL and test that method. I will try again to setup derek. Do you have any documentation for that?

alexellis commented 5 years ago

Documentation on how to write tests? There's lots of coverage in this project so I'd suggest copying the approach seen in another test file.

alexellis commented 5 years ago

Failing that ask on slack.

viveksyngh commented 5 years ago

Nope .. I was asking any documentation on how to setup derek ?

viveksyngh commented 5 years ago

Tested against this repo. https://github.com/viveksyngh/openfaas-functions for this PR https://github.com/viveksyngh/openfaas-functions/pull/3 using below derek configuration.

curators:
 - viveksyngh

features:
 - dco_check
 - comments

contributing_url: https://github.com/alexellis/derek/blob/master/CONTRIBUTING.md
viveksyngh commented 5 years ago

@alexellis I have also added a new function which gets contributing URL and also added the unit test for that.

alexellis commented 5 years ago

Awesome 🎉 !

Glad you were able to test it end-to-end like this too. Did it help having worked with GitHub Apps in OpenFaaS Cloud?

viveksyngh commented 5 years ago

yeah .. that's for sure. It was really helpful.

alexellis commented 5 years ago

Derek add label: help wanted

alexellis commented 5 years ago

Derek remove label: help wanted

alexellis commented 5 years ago

I've released and deployed Derek 0.6.2, let's try it out?