[librsvg: 4/5] CI: Always run the distcheck job for the main branch




commit 6d8a0b746b74f4341f9a69380a5cf1955ef858c8
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Jul 14 12:57:16 2022 -0500

    CI: Always run the distcheck job for the main branch
    
    Distcheck wasn't being run post-merge for Marge-bot's pushes.  That's
    the release tarball I want to use for releases, generally.
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/716>

 .gitlab-ci.yml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4abe2ab61..58d6482df 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -360,11 +360,8 @@ distcheck:
       - librsvg-*.tar.xz
     expire_in: 1 week
   rules:
-    - if: '$CI_PIPELINE_SOURCE == "push"'
-      when: manual
-      allow_failure: true
-    - if: '$CI_PIPELINE_SOURCE == "schedule"'
-    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
+    - if: '$CI_COMMIT_BRANCH == "main"'
+      when: 'always'
 
 reference:
   extends:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]