@ubiquity-os/command-start-stop
This plugin allows a hunter to begin a task as well as gracefully stop a task without incurring a negative impact on the hunter's XP or karma.
To start a task, a hunter should use the /start
command. This will assign them to the issue so long as the following is true:
To stop a task, a hunter should use the /stop
command. This will unassign them from the issue so long as the following is true:
"start"
when configuring your .ubiquity-os.config.yml
file.To configure your Ubiquibot to run this plugin, add the following to the .ubiquity-os.config.yml
file in your organization configuration repository.
- plugin: http://localhost:4000 # or the URL where the plugin is hosted
name: start-stop
id: start-stop-command
description: "Allows a user to start/stop a task without negative XP impact"
command: "\/start|\/stop"
example: "/start" # or "/stop"
with:
reviewDelayTolerance: "3 Days"
taskStaleTimeoutDuration: "30 Days"
maxConcurrentTasks: # Default concurrent task limits per role.
member: 5
contributor: 3
startRequiresWallet: true # default is true
emptyWalletText: "Please set your wallet address with the /wallet command first and try again."
rolesWithReviewAuthority: ["MEMBER", "OWNER"]
To run the Jest test suite, run the following command:
yarn test