From e574408b33a198ecabd035bbfbecaf9d66f05f4d Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Mon, 11 Jul 2022 10:15:18 +0200 Subject: [PATCH] CI: Run stages when .gitlab-ci.yml changes --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 718524aee..ff9f1ec16 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -35,6 +35,7 @@ build: stage: build only: changes: + - ".gitlab-ci.yml" - "**/*.ex" - "**/*.exs" - "mix.lock" @@ -45,6 +46,7 @@ spec-build: stage: test only: changes: + - ".gitlab-ci.yml" - "lib/pleroma/web/api_spec/**/*.ex" - "lib/pleroma/web/api_spec.ex" artifacts: @@ -71,6 +73,7 @@ unit-testing: stage: test only: changes: + - ".gitlab-ci.yml" - "**/*.ex" - "**/*.exs" - "mix.lock" @@ -93,6 +96,7 @@ unit-testing-erratic: allow_failure: true only: changes: + - ".gitlab-ci.yml" - "**/*.ex" - "**/*.exs" - "mix.lock" @@ -129,6 +133,7 @@ unit-testing-rum: stage: test only: changes: + - ".gitlab-ci.yml" - "**/*.ex" - "**/*.exs" - "mix.lock" @@ -151,6 +156,7 @@ lint: stage: test only: changes: + - ".gitlab-ci.yml" - "**/*.ex" - "**/*.exs" - "mix.lock" @@ -168,6 +174,7 @@ analysis: stage: test only: changes: + - ".gitlab-ci.yml" - "**/*.ex" - "**/*.exs" - "mix.lock" @@ -180,6 +187,7 @@ cycles: image: elixir:1.11-alpine only: changes: + - ".gitlab-ci.yml" - "**/*.ex" - "**/*.exs" - "mix.lock"