From a5e4f291ff7eab65b736ca3ce1de3c612d33e74f Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen.haas@lakedrops.com>
Date: Wed, 20 Mar 2024 10:33:31 +0100
Subject: [PATCH] Add support for extra arguments to composer outdated command

---
 lakedrops.yml       | 1 +
 test-and-deploy.yml | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/lakedrops.yml b/lakedrops.yml
index efe0806..ca70599 100644
--- a/lakedrops.yml
+++ b/lakedrops.yml
@@ -35,6 +35,7 @@ variables:
   LAKEDROPS_DEBUG: 0
   LOCALDBFILE: none
   NAMESPACES_CHECK_UPDATE: drupal/* drush/* lakedrops/*
+  OUTDATED_EXTRAS: ''
   PHP_MAJOR_VERSION: 8
   PHP_MINOR_VERSION: 1
   PROJECT_BRANCH: $CI_COMMIT_REF_NAME
diff --git a/test-and-deploy.yml b/test-and-deploy.yml
index 9e3ab2b..3084513 100644
--- a/test-and-deploy.yml
+++ b/test-and-deploy.yml
@@ -768,8 +768,8 @@ Debug:
     - !reference [.prepareaccess, before_script]
     - !reference [.preparecomposerplugins, before_script]
   script:
-    - composer outdated --patch-only --strict --no-interaction
-    - composer outdated --minor-only --strict --no-interaction
+    - composer outdated --minor-only --strict --no-interaction $OUTDATED_EXTRAS
+    - composer outdated --patch-only --strict --no-interaction $OUTDATED_EXTRAS
   rules:
     - if: $IGNORE_COMPOSER_EXTENDED_AUDIT == "0"
       when: always
-- 
GitLab