summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorAntonio Cardace <acardace@redhat.com>2020-04-06 11:20:33 +0200
committerAntonio Cardace <acardace@redhat.com>2020-04-06 13:48:54 +0200
commitbcd8f6a7bf5b957754bda96c814cf59b7aebf37d (patch)
treef6e2a5f440ff3d341838f9568dc62e3b90282deb /.gitlab-ci.yml
parent1154ca90ffcb18c7b066ca4cf50c01b0b9722e8f (diff)
downloadnetwork-manager-applet-bcd8f6a7bf5b957754bda96c814cf59b7aebf37d.tar.gz
gitlab-ci: add scheduled pipeline to triage inactive issues and MRs
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ec762a73..80dded5c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,6 +4,11 @@
# If things don't seem to work, this can help:
# https://gitlab.gnome.org/GNOME/network-manager-applet/-/ci/lint
+stages:
+ - build
+ - test
+ - triage
+
.dist: &dist
dependencies:
- fedora30_dist
@@ -110,3 +115,12 @@ fedora_autotools_full:
- make -j$(nproc) uninstall
image: fedora:latest
stage: test
+
+triage:issues:
+ stage: triage
+ image: ruby:2.7
+ script:
+ - gem install gitlab-triage
+ - gitlab-triage -d --token $API_TOKEN --source-id $SOURCE_ID
+ only:
+ - schedules