From 2e88063500d7ef33c83bd2de8ca5c7818ffbb026 Mon Sep 17 00:00:00 2001
From: Zubin Duggal <zubin.duggal@gmail.com>
Date: Thu, 4 Jan 2024 17:24:12 +0530
Subject: [PATCH] ci: Allow release-hackage-lint to fail

Otherwise it blocks the ghcup metadata pipeline from running.
---
 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 86160f34ff65..8fa1c091bd06 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -841,6 +841,10 @@ release-hackage-lint:
   rules:
     - if: '$RELEASE_JOB == "yes"'
   extends: .hackage
+  # The ghcup metadata pipeline requires all prior jobs to
+  # pass. The hackage job can easily fail due to API changes
+  # or similar - so we allow it to fail.
+  allow_failure: true
   variables:
     # No slow-validate bindist on release pipeline
     EXTRA_HC_OPTS: "-dlint"
-- 
GitLab