Automate routine work with stale GitLab issues and merge requests.
Part of the @kira
bots family.
Policy:
--dry-run
flag to make sure it worksWe use gitlab-triage
inside.
So, consult their docs
about deployment and usage.
You can even have a look at GitLab's internal policies.
It is possible to use this setup with .gitlab-ci.yml
and Heroku.
You will need to create this set of labels:
deadline:soft
deadline:hard
deadline:miss
validation:labels
validation:stale
validation:estimate
validation:invalid
notification:first
notification:last
You can use kira-setup
to create these labels for you.
To setup a new Heroku server you will need to:
Use worker
process type to run inside a scheduler every 10 minutes.
Make sure to fill all env vars with the correct values.
You can generate .gitlab-ci.yml
file to run this script as scheduled events:
--init-ci
to generate default .gitlab-ci.yml
file