Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 1, 2020. It is now read-only.

Prev. Comments & Formatting #12

Merged
z0al merged 7 commits into z0al:master from newnewb:master
Jul 8, 2018
Merged

Prev. Comments & Formatting #12

z0al merged 7 commits into z0al:master from newnewb:master
Jul 8, 2018

Conversation

@newnewb
Copy link
Contributor

@newnewb newnewb commented Apr 8, 2018

Added comment lookup

Fixed the indentation and formatting issue caused by the mapping

ajsb85 reacted with thumbs up emoji
lib/comments.js Outdated
let result
//iterates over all the comments
for (comment of comments['data']){
if(comment.user.login=='commitlint[bot]'&&comment.user.type=='Bot'){ //looks for the first comment made by the bot
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about this but it has to better a better way to check for bot's comment other that it's login name.

This won't work for self-deployed instance since app names are unique.

Copy link
Contributor Author

@newnewb newnewb Apr 9, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Owner

z0al commented Apr 9, 2018

Hey @newnewb thank you so much for this 👌

I took a quick review and it looks good. I've and commented on some parts, though.

Also, please add some tests that cover your changes. Don't hesitate to ask for help here if you feel stuck.

Thanks again for contributing 🌟

ajsb85 reacted with thumbs up emoji

Repository owner deleted a comment Apr 9, 2018
Repository owner deleted a comment Apr 18, 2018
Copy link
Owner

z0al commented May 10, 2018

@newnewb Nice work ✨

I would merge this PR when we update the docs to reflect the little changes we made (e.g. the need for APP_NAME env)

Also, we need to add new tests for regression purpose

ajsb85 reacted with thumbs up emoji

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer

@z0al z0al z0al approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /