Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • jennli-automated-merge
  • ddieulivol-one_off_remove_group_test_health
  • dj-rename-quality-to-devex
  • refine-triage-ai-labelling-message
  • fix-jihu-and-contractor-hygiene-policies
  • mnohr-master-patch-ca52
  • tjayaramaraju-6b23ff51-patch-f0f7
  • tjayaramaraju-6b23ff51-patch-5569
  • dc/work-item-webhook
  • dj-remove-quality-reports
  • jh-remove-s1-from-community
  • cbjr-fix-ignore-bots-lifecycle-processor
  • jennli-csmerm-policies
  • ps-mr-defect-triage-ops
  • rasamhossain/localization/localization-team/issues/325
  • rasamhossain-master-patch-93ea
  • jennli-test-label-migration-duration
  • alexives/migrate-database-frameworks
  • jennli-prep-label-migration-workflows-demo
20 results

triage-ops

  • Clone with SSH
  • Clone with HTTPS
  • GitLab triage operations

    This is a collection of prototype tools that help triage issues and merge requests. Support for triage operations is proposed in epic 636.

    Choose your strategy: Reactive or Scheduled

    Triage operations for GitLab involves two strategies: reactive and scheduled operations. See dedicated documentation for them.

    The bot

    You may have seen @gitlab-bot commenting on GitLab issues. The same bot is also used in the following projects:

    We are not leveraging a bot framework, but both reactive hooks and scheduled operations authenticate as @gitlab-bot, which credentials can be found in the shared 1Password vault.

    For a code example, see how the reactive hook implements @gitlab-bot label ... command.

    Development

    Install gems

    bundle install

    Activate lefthook locally

    lefthook install

    Run tests

    You can run the test suite with bundle exec rspec.

    Guard is also supported (see the Guardfile). Install Guard with gem install guard, then start it with guard.

    Language Server

    Optionally install the Solargraph plugin for your editor.