Suggestion: Custom commands
About this feature proposal
This feature proposal is about having custom commands that can be customized in the .triage-policies.yml
file. To trigger these, just mention the username of the service account (for example, @gitlab-bot) and the commands (for example, generate --partially-triaged
or generate partially-triaged
). The examples below show how someone triggers a bot command
Examples
Trigger a command and subcommand.
# Generates a list of partially-triaged issues and merge requests in a subcommand.
@gitlab-bot generate partially-triaged
Trigger a command with flags
# If subcommand can be used as a flag, like in a Linux terminal.
@gitlab-bot generate --partially-triaged
Trigger the help command
# Lists all available commands configured from the Triage Policies file.
@gitlab-bot help
Implementation
For the full usage, see $1921813, which contains the full implementation for this feature proposal with other configurations.
Edited by Andrei Jiroh Eugenio Halili