feat(coding-standard): add missing composer_auth to require of magento-coding-standard

This commit is contained in:
Damien Retzinger
2026-04-27 14:03:12 -04:00
parent f8eff3c183
commit 3fad3a8995
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -164,6 +164,7 @@ jobs:
- uses: graycoreio/github-actions-magento2/coding-standard@main
with:
path: ${{ inputs.path }}
composer_auth: ${{ secrets.composer_auth }}
integration_test:
runs-on: ${{ matrix.os }}
+7
View File
@@ -32,6 +32,11 @@ inputs:
default: 'false'
required: false
composer_auth:
required: false
default: ""
description: "Composer authentication credentials (contents of auth.json as a JSON string)"
runs:
using: composite
steps:
@@ -56,6 +61,8 @@ runs:
shell: bash
working-directory: ${{ inputs.path }}
run: composer require "magento/magento-coding-standard:${{ inputs.version || '*' }}" "magento/php-compatibility-fork"
env:
COMPOSER_AUTH: ${{ inputs.composer_auth }}
- name: Register Coding Standard
shell: bash