From 17082a868ed5427a5a95de8bada9834b727ea07e Mon Sep 17 00:00:00 2001 From: Antonio Cardace Date: Wed, 18 Mar 2020 17:25:59 +0100 Subject: [PATCH] gitlab-ci: use ruby:2.7 for triage pipeline This fixes the pipeline as 'gem' will be installed by default in the container image. Also fix wording and run gitlab-triage in debug mode to get more output. --- .gitlab-ci.yml | 3 ++- .triage-policies.yml | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index acd13415a4..ec64135be5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -200,8 +200,9 @@ pages: triage:issues: stage: triage + image: ruby:2.7 script: - gem install gitlab-triage - - gitlab-triage --token $API_TOKEN --source-id $SOURCE_ID + - gitlab-triage -d --token $API_TOKEN --source-id $SOURCE_ID only: - schedules diff --git a/.triage-policies.yml b/.triage-policies.yml index 0d28577091..dfa23e2603 100644 --- a/.triage-policies.yml +++ b/.triage-policies.yml @@ -3,7 +3,7 @@ host_url: https://gitlab.freedesktop.org resource_rules: issues: rules: - - name: Close issues with not activity for 6 months + - name: Close issues with no activity for 6 months conditions: date: attribute: updated_at @@ -13,11 +13,11 @@ resource_rules: state: opened actions: comment: | - "This issue has been inactive for 6 months, closing automatically, please reopen if you think the issue is still relevant." + This issue has been inactive for 6 months, closing automatically, please reopen if you think the issue is still relevant. status: close labels: - auto-closed - - name: Close RFE with not activity for 12 months + - name: Close RFE with no activity for 12 months conditions: date: attribute: updated_at @@ -29,7 +29,7 @@ resource_rules: - enhancement actions: comment: | - "This enhancement issue has been inactive for 12 months, closing automatically, please reopen if you think the issue is still relevant." + This enhancement issue has been inactive for 12 months, closing automatically, please reopen if you think the issue is still relevant. status: close labels: - auto-closed @@ -53,7 +53,7 @@ resource_rules: state: opened actions: comment: | - "This MR has been inactive for more than 2 months, closing automatically, please reopen if you think it is still relevant." + This MR has been inactive for more than 2 months, closing automatically, please reopen if you think it is still relevant. status: close labels: - auto-closed