From 1f81efa4ef55b890557caa184f9470acf9e88db2 Mon Sep 17 00:00:00 2001
From: Jamie Schouten <jamie@qlic.nl>
Date: Wed, 5 Feb 2025 19:30:48 +0100
Subject: [PATCH] Add composer-args

---
 .gitea/workflows/quality.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.gitea/workflows/quality.yml b/.gitea/workflows/quality.yml
index 9442c7a..e785610 100644
--- a/.gitea/workflows/quality.yml
+++ b/.gitea/workflows/quality.yml
@@ -9,6 +9,10 @@ on:
         required: false
         type: string
         default: ${{ vars.REGISTRY_PASSWORD }}
+      composer-args:
+        required: false
+        type: string
+        default: '--verbose --prefer-dist --no-progress --no-interaction --optimize-autoloader --ignore-platform-reqs --no-scripts'
       environment-path:
         required: false
         type: string
@@ -25,6 +29,8 @@ jobs:
     steps:
       - name: Setup composer
         uses: https://git.qlic.nl/actions/setup-composer@v1
+        with:
+          args: ${{ inputs.composer-args }}
 
       - name: Cache PHPStan
         uses: actions/cache@v4
-- 
2.47.2