ci: close stalled issues

This commit is contained in:
naskya 2024-07-12 21:38:35 +09:00
parent dfb1904ede
commit b62cfa5541
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -367,7 +367,19 @@ clean:
add-issue-labels:
stage: manage
rules:
- if: $MANAGE && $CI_PIPELINE_SOURCE == 'schedule'
- if: $ADD_LABEL && $CI_PIPELINE_SOURCE == 'schedule'
image: registry.firefish.dev/firefish/gitlab-issue-labels
variables:
GITLAB_HOST: "firefish.dev"
services: []
before_script: []
script:
- gitlab-issue-labels
close-stalled-issues:
stage: manage
rules:
- if: $CLOSE_STALLED && $CI_PIPELINE_SOURCE == 'schedule'
image: registry.firefish.dev/firefish/gitlab-issue-labels
variables:
GITLAB_HOST: "firefish.dev"