From b62cfa554177aadaff6e0c22984f5757827c0377 Mon Sep 17 00:00:00 2001 From: naskya Date: Fri, 12 Jul 2024 21:38:35 +0900 Subject: [PATCH] ci: close stalled issues --- .gitlab-ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 326ddbb31f..d2cc7f02d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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"