From 3373bf4518e160489e3d6717c0e6b4eb51c810cd Mon Sep 17 00:00:00 2001 From: Nick Wiegers Date: Tue, 15 Apr 2025 13:09:18 +0200 Subject: [PATCH] Added composer authentication env for composer installation --- .gitea/workflows/quality.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/quality.yml b/.gitea/workflows/quality.yml index 4ced826..c92332a 100644 --- a/.gitea/workflows/quality.yml +++ b/.gitea/workflows/quality.yml @@ -21,10 +21,14 @@ on: required: false type: string default: .env.example + secrets: + composer-auth-json: + required: false + type: string jobs: quality: - runs-on: ubuntu-24.04 + runs-on: 'ubuntu-24.04' container: image: ${{ inputs.image }} credentials: @@ -35,6 +39,8 @@ jobs: uses: https://git.qlic.nl/actions/setup-composer@v1 with: args: ${{ inputs.composer-args }} + env: + COMPOSER_AUTH: ${{ secrets.composer-auth-json }} - name: Cache PHPStan uses: actions/cache@v4 @@ -61,4 +67,4 @@ jobs: run: ./vendor/bin/php-cs-fixer fix --diff --dry-run - name: Run audit - run: composer audit + run: composer audit \ No newline at end of file -- 2.47.2