Skip to content

Add composer_auth support to setup-magento#357

Merged
damienwebdev merged 1 commit intomage-os:mainfrom
digitalrisedorset:feature/setup-magento-composer-auth
May 8, 2026
Merged

Add composer_auth support to setup-magento#357
damienwebdev merged 1 commit intomage-os:mainfrom
digitalrisedorset:feature/setup-magento-composer-auth

Conversation

@digitalrisedorset
Copy link
Copy Markdown
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Currently, Composer authentication must be configured manually in workflow steps using COMPOSER_AUTH.

setup-magento does not expose a dedicated composer_auth input or propagate authentication credentials internally to Composer execution steps.

Fixes: N/A

What is the new behavior?

Adds an optional composer_auth input to setup-magento and propagates COMPOSER_AUTH to the internal Composer create-project step.

This enables authenticated Magento repository installs while preserving anonymous Mage-OS installs.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

This change keeps Composer authentication optional to avoid impacting existing Mage-OS workflows using the public Mage-OS mirror.

@digitalrisedorset digitalrisedorset requested a review from a team as a code owner May 8, 2026 13:28
Copy link
Copy Markdown
Member

@damienwebdev damienwebdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@damienwebdev damienwebdev merged commit ce7a25a into mage-os:main May 8, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants