-
Notifications
You must be signed in to change notification settings - Fork 69
Commands
This is a list of the commands that zulipbot currently supports.
- Commands edited to be included in a comment/description will not work.
- The lack of support for edited comments/descriptions is a result of an inconsistency in the GitHub API.
- Commands within code blocks will be ignored.
-
zulipbot supports customizable command aliases; you can change any of these commands to by modifying the configuration file (
src/config.js).
-
username— Theusernameobject configured insrc/secrets.js; the username that zulipbot is authenticated as. -
command— The specified command that will trigger a response or action from zulipbot. -
"multiple" "arguments"— The arguments for commands are surrounded with double quotes ("); only certain commands require arguments.
Assigns the commenter to an issue (or issue creator if included in an issue description). Works in issue comments and issue descriptions.
- Gives new contributors repository permissions based on the
addCollabPermissionobject configured insrc/config.js; eitherpull,push, oradmin; if undefined, contributors will not be given any permissions. - If
inProgressLabelis defined insrc/config.js, a label with the value ofinProgressLabelwill be added to the claimed issue. - Can be enabled/disabled by configuring the
claimEnabledobject configured insrc/config.js.
Unassigns the commenter from an issue. Works in issue/pull request comments.
- If
inProgressLabelis defined insrc/config.jsand is labeled on the abandoned issue/pull request, a label with the value ofinProgressLabelwill be removed from the issue/pull request. - Can be enabled/disabled by configuring the
abandonEnabledobject configured insrc/config.js.
Adds existing repository labels to issues and pull requests. Works in issue descriptions and issue/pull request comments.
- Attempts to add nonexistent repository labels to an issue/pull request will result in an error message.
- Travis build notifications can be added to pull requests using
@username label "travisUpdatesLabel"wheretravisUpdatesLabelis thetravisUpdatesLabelconfigured insrc/config.js. - Configure the
selfLabelingOnlyobject insrc/config.jsto only allow issue/pull request creators to label their own issues/pull requests. - Can be enabled/disabled by configuring the
labelEnabledobject configured insrc/config.js.
Removes labels from issues and pull requests. Works in issue descriptions and issue/pull request comments.
- Attempts to remove invalid labels from an issue/pull request will result in an error message.
- Configure the
selfLabelingOnlyobject insrc/config.jsto only allow issue/pull request creators to remove labels from their own issues/pull requests. - Can be enabled/disabled by configuring the
removeEnabledobject configured insrc/config.js.
Adds the commenter to specified area label teams (or issue/pull request creator if included in an issue/pull request description). Works in issue/pull request descriptions and issue/pull request comments.
- This command should be enabled only if:
- The monitored repository is owned by an organization.
- The repository's organization has already had area label teams created prior to usage.
- If the user is not part of the GitHub organization, the user will be prompted to accept an invitation link. If the user is already a part of the GitHub organization, the user will be automatically added.
- Can be enabled/disabled by configuring the
joinEnabledobject configured insrc/config.js.
Need more help? Join us on the zulipbot stream on the Zulip development community server.