NEAR-DevHub / race-of-sloths

A fun way to contribute to open source. Contribute, get recognized, and boost your profile
https://race-of-sloths.com
6 stars 1 forks source link

Create Sloth bot role model #37

Closed ftdgoodluck closed 2 months ago

ftdgoodluck commented 4 months ago

Create a role model for the bot.

### Tasks
- [ ] https://github.com/NEAR-DevHub/devbot/issues/92
- [ ] https://github.com/NEAR-DevHub/devbot/issues/97
- [ ] https://github.com/NEAR-DevHub/devbot/issues/98
- [ ] https://github.com/NEAR-DevHub/devbot/issues/99
- [ ] https://github.com/NEAR-DevHub/devbot/issues/100
- [ ] https://github.com/NEAR-DevHub/devbot/issues/111
ftdgoodluck commented 4 months ago

List of supported commands:

For contributors:

For maintainers:

Workflow:

  1. Contributor creates a PR with a mention of the Sloth bot using “@sloth include” command
  2. The Sloth bot responds with a like emoji over the description and writes a comment“This pull request was submitted for the Sloth race [active link]”.
  3. Contributor sends PR for a review
  4. Sloth bot writes a comment "This pull request is a part of Sloth race[active link]. Please use the "@sloth reject" command to exclude this pull request from the Sloth race, "@sloth score [1-10]" to rate it, or "@sloth pause" to pause all Sloth race notifications across the project”
  5. If the maintainer writes a comment with “@sloth pause” command, the PR is automatically excluded from Sloth race and all bot actions inside the repo are paused
  6. If the maintainer writes a comment with “@sloth exclude” command, the PR is excluded from the Sloth race
  7. If the maintainer writes a comment with @sloth score X” command, the bot responds with a like emoji over the message and writes a comment “Thanks for submitting your score for the Sloth race [active link]. This score would be recorded once the pull request is merged
  8. If the maintainer writes a comment with “@sloth score” command but with an incorrect token that we can’t parse, the bot writes a comment “Please use the score command with the following syntax: @sloth score + a number between 1 and 10 after a space”

Some thoughts:

botezatunear commented 4 months ago

I agree that one score will be easier for everyone, I've written thoughts in the specific task:

Let's discuss tomorrow and finalise

ftdgoodluck commented 4 months ago

blocked by #46 - once the PRD is finalized this task would be updated

ftdgoodluck commented 3 months ago

@frol @botezatunear @akorchyn waiting for your comments, gentlemen