-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pullRequestAuthorRole #715
Add pullRequestAuthorRole #715
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is already looking quite good! Some suggestions and I think this also needs an addition in the readme.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The type of requiredAuthorRole
in config.ts
can be CommentAuthorAssociation
. In addition, the readme needs a section for the new option.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me now 👍 Let me know whether you have any changes in mind. If not, I'll merge and deploy this to production.
Thanks for the update. From what I understood, we'll write something like
is that correct? |
Yes, that should be possible. Best would be to create an integration test for your explicit case if you want to be sure this will work now and in the future. Example of a similar integration test can be found here: probot-auto-merge/test/integration.test.ts Lines 305 to 352 in 6e4efcf
|
2434a34
to
b32c903
Compare
Sorry for the very long delay. I've created a test and hopefully it will work now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the work! This looks really useful and the implementation well-tested. Only thing missing is an addition to the README. Other than that, this looks good to merge 👍
Thanks, I'm glad it'll be useful. I have created a new commit with the README addition. |
🎉 This PR is included in version 1.3.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Let me know how I can improve it.
Closes #707