Skip to content

`/tag` quick action on Commit comments

In https://gitlab.com/gitlab-org/gitlab-ce/issues/22363 it was proposed to have a /tag slash command on merge requests. This is a good idea, but a few issues might arise due to uncertainty on when the command is actually executed. (https://gitlab.com/gitlab-org/gitlab-ce/issues/22363#note_69828712)

This issue shouldn't be interpreted as a counter proposal, but I do feel this is a smaller step allowing for an iteration later.

Proposal

  • Add a quick action (slash command) that can be used in the notes of a commit discussion only

For example,

A future enhancement would be to support patterns like /tag v10.9.x which would tag the commit as the next patch release.

Other Notes

  • quick actions autocompletion can be enabled in app/views/shared/notes/_form.html.haml

Links / references

Edited by Jan Provaznik