Skip to content

wemake-services/kira-stale

Repository files navigation

Kira Stale Bot

wemake.services kira-family test

Automate routine work with stale GitLab issues, merge requests and branches.

Part of the @kira bots family.

Adding new actions

Policy:

  1. All actions must be idempotent: multiple runs – the same state
  2. All actions must make sense for all projects
  3. Dry run your script several times with --dry-run flag to make sure it works

Installation

Primary method is via docker:

docker pull wemakeservices/kira-stale

We use gitlab-triage inside. So, consult their docs about deployment and usage.

You can even have a look at GitLab's internal policies.

Labels setup

You will need to create this set of labels:

  • deadline::soft
  • deadline::hard
  • deadline::miss
  • validation:labels
  • validation:stale
  • validation:estimate
  • validation:invalid
  • mr::processed

You can use kira-setup to create these labels for you.

Using docker

We ship a docker image that can be used as:

docker pull wemakeservices/kira-stale:latest

docker run --rm wemakeservices/kira-stale \
  gitlab-triage \
  --source-id="your-gitlab-project-int-id" \
  --token="your-gitlab-token-with-api-perm"

License

MIT

About

🐿️ Kira's micro-bot to fight with stale GitLab issues and merge requests

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •