Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
c759b78
feat: Composer require stripe payments module
magenx Jun 26, 2025
83f900a
Update composer_install.yml
magenx Jun 26, 2025
cf08fde
fix: Composer file updated to test workflow
magenx Jun 26, 2025
ce85c82
fix: Install reviewdog for pr review
magenx Jun 26, 2025
55a9e6b
fix: Composer file updated to test workflow
magenx Jun 26, 2025
23ef462
fix: Reviewdog format for pr comment
magenx Jun 26, 2025
318d0e7
fix: Composer file updated to test workflow
magenx Jun 26, 2025
64d656a
Update composer_install.yml
magenx Jun 26, 2025
b4fb3a9
Update composer.json
magenx Jun 26, 2025
d95589e
Update composer_install.yml
magenx Jun 26, 2025
109fc7e
Update composer_install.yml
magenx Jun 27, 2025
afed1fd
fix: Update stripe payments module version
magenx Jun 27, 2025
42941c2
Merge afed1fdfce115c48ac7255790977b470a6f2e6c7 into 109fc7e45d6de77f9…
magenx Jun 27, 2025
b271cd9
chore(config): Update app/etc/config.php after module enable
magenx Jun 27, 2025
cdfbb75
chore(composer): Update composer.lock to match composer.json
magenx Jun 27, 2025
4e16e08
fix: Update stripe payments module version
magenx Jun 27, 2025
72f94f8
fix: Update stripe payments module version
magenx Jun 27, 2025
3c8e30d
fix: Update stripe payments module version
magenx Jun 27, 2025
4c68594
fix: Update stripe payments module version
magenx Jun 27, 2025
6490ac4
fix: Composer file updated to test workflow
magenx Jun 27, 2025
b92c873
fix: Composer file updated to test workflow
magenx Jun 27, 2025
d0603d5
fix: Composer file updated to test workflow
magenx Jun 27, 2025
5b1ed74
fix: Update workflow to test composer outdated
magenx Jun 27, 2025
3d4c3cf
fix: Composer file updated to test workflow
magenx Jun 27, 2025
f7d37b2
fix: Composer file updated to test workflow
magenx Jun 27, 2025
3db1b5a
fix: Update magenx cicd release yml
magenx Jun 27, 2025
275c3de
fix: Test update composer file to trigger
magenx Jun 27, 2025
9146e9c
fix: Composer file updated to test workflow
magenx Jun 28, 2025
0eba207
fix: Composer file updated to test workflow
magenx Jun 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .github/workflows/composer_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
path: base

- name: Extract require block from base
run: jq -r '.require | keys_unsorted[]' base/composer.json | sort > modules_old.txt
run: jq -r '.require | keys_unsorted[]' base/composer.json | sort > base/modules_old.txt

- name: Validate composer.json from PR
id: composer-validate
Expand All @@ -47,13 +47,18 @@ jobs:
echo "new_modules=true" >> ${GITHUB_OUTPUT}
fi

- uses: reviewdog/action-setup@v1
with:
reviewdog_version: latest

- name: New modules review comment to PR
id: module-comment-pr
if: ${{ steps.find-new-modules.outputs.new_modules == 'true' }}
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cat modules.txt | reviewdog -efm="::%l:%c:%t:%m" \
echo -e "composer.json:New module require:\n$(sed 's/^/- /' modules.txt)" > reviewdog.log
cat reviewdog.log | reviewdog -efm="%f:%m" \
-name="COMPOSER MODULES INSTALLATION" \
-reporter=github-pr-review \
-level=info
Expand All @@ -64,6 +69,9 @@ jobs:
env:
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}
run: |
while read module; do
composer require "$module"
done < modules.txt
composer install --no-interaction --no-dev --no-cache

- name: Extract Magento module names
Expand All @@ -79,7 +87,7 @@ jobs:
fi
fi
done < ./modules.txt > ./magento_modules.txt
echo "New Magento modules:"
echo "⚠️ New Magento modules: ⚠️"
cat ./magento_modules.txt
echo "magento_modules=$(paste -sd, magento_modules.txt)" >> ${GITHUB_OUTPUT}

Expand All @@ -88,7 +96,7 @@ jobs:
if: ${{ steps.find-new-modules.outputs.new_modules == 'true' }}
run: |
modules=$(awk -F' => ' '{print $2}' magento_modules.txt | xargs)
bin/magento module:enable $modules -n --no-ansi -q 2>/dev/null || true
bin/magento module:enable --all -n --no-ansi -q 2>/dev/null || true

- name: Run setup di compile
id: setup-di-compile
Expand Down
92 changes: 50 additions & 42 deletions app/etc/config.php
Original file line number Diff line number Diff line change
@@ -1,77 +1,76 @@
<?php
return [
'modules' => [
'Magento_Csp' => 1,
'Magento_Store' => 1,
'Magento_AdvancedPricingImportExport' => 1,
'Magento_Directory' => 1,
'Magento_Amqp' => 1,
'Magento_AmqpStore' => 1,
'Magento_Config' => 1,
'Magento_AsyncConfig' => 1,
'Magento_Theme' => 1,
'Magento_Variable' => 1,
'Magento_Backend' => 1,
'Magento_Backup' => 1,
'Magento_Variable' => 1,
'Magento_Eav' => 1,
'Magento_Backup' => 1,
'Magento_Customer' => 1,
'Magento_BundleImportExport' => 1,
'Magento_CacheInvalidate' => 1,
'Magento_Customer' => 1,
'Magento_AdminNotification' => 1,
'Magento_CatalogImportExport' => 1,
'Magento_Indexer' => 1,
'Magento_Rule' => 1,
'Magento_CatalogImportExport' => 1,
'Magento_Cms' => 1,
'Magento_Rule' => 1,
'Magento_Catalog' => 1,
'Magento_CatalogRule' => 1,
'Magento_CatalogUrlRewrite' => 1,
'Magento_Widget' => 1,
'Magento_Payment' => 1,
'Magento_Quote' => 1,
'Magento_SalesSequence' => 1,
'Magento_Bundle' => 1,
'Magento_CmsUrlRewrite' => 1,
'Magento_Authorization' => 1,
'Magento_User' => 1,
'Magento_Security' => 1,
'Magento_Msrp' => 1,
'Magento_SalesSequence' => 1,
'Magento_Sales' => 1,
'Magento_Payment' => 1,
'Magento_CatalogInventory' => 1,
'Magento_Contact' => 1,
'Magento_ContactGraphQl' => 1,
'Magento_Cookie' => 1,
'Magento_Cron' => 1,
'Magento_Search' => 1,
'Magento_CurrencySymbol' => 1,
'Magento_CatalogInventory' => 1,
'Magento_Sales' => 1,
'Magento_CustomerImportExport' => 1,
'Magento_DataExporter' => 1,
'Magento_Deploy' => 1,
'Magento_Developer' => 1,
'Magento_GraphQl' => 1,
'Magento_User' => 1,
'Magento_Downloadable' => 1,
'Magento_ImportExport' => 1,
'Magento_MediaStorage' => 1,
'Magento_Search' => 1,
'Magento_GraphQl' => 1,
'Magento_CatalogSearch' => 1,
'Magento_AdvancedSearch' => 1,
'Magento_Email' => 1,
'Magento_EncryptionKey' => 1,
'Magento_GiftMessage' => 1,
'Magento_GoogleAnalytics' => 1,
'Magento_Checkout' => 1,
'Magento_CompareListGraphQl' => 1,
'Magento_PageCache' => 1,
'Magento_GraphQlResolverCache' => 1,
'Magento_GraphQlServer' => 1,
'Magento_GroupedProduct' => 1,
'Magento_GroupedImportExport' => 1,
'Magento_GroupedCatalogInventory' => 1,
'Magento_DownloadableImportExport' => 1,
'Magento_Checkout' => 1,
'Magento_MediaStorage' => 1,
'Magento_InstantPurchase' => 1,
'Magento_Security' => 1,
'Magento_JwtFrameworkAdapter' => 1,
'Magento_Integration' => 1,
'Magento_IntegrationGraphQl' => 1,
'Magento_JwtFrameworkAdapter' => 1,
'Magento_JwtUserToken' => 1,
'Magento_LayeredNavigation' => 1,
'Magento_LoginAsCustomer' => 1,
'Magento_LoginAsCustomerAdminUi' => 1,
'Magento_LoginAsCustomerApi' => 1,
'Magento_LoginAsCustomerAssistance' => 1,
'Magento_LoginAsCustomerFrontendUi' => 1,
'Magento_LoginAsCustomerGraphQl' => 1,
'Magento_LoginAsCustomerLog' => 1,
'Magento_LoginAsCustomerPageCache' => 1,
'Magento_LoginAsCustomerQuote' => 1,
'Magento_LoginAsCustomerSales' => 1,
'Magento_MediaGallery' => 1,
'Magento_MediaGalleryApi' => 1,
'Magento_Robots' => 1,
Expand All @@ -81,18 +80,21 @@
'Magento_MsrpGroupedProduct' => 1,
'Magento_Multishipping' => 1,
'Magento_MysqlMq' => 1,
'Magento_NewRelicReporting' => 1,
'Magento_Newsletter' => 1,
'Magento_OfflinePayments' => 1,
'Magento_SalesRule' => 1,
'Magento_Elasticsearch' => 1,
'Magento_OrderCancellation' => 1,
'Magento_OrderCancellationUi' => 1,
'Magento_PageBuilderImageAttribute' => 1,
'Magento_GraphQlCache' => 1,
'Magento_CheckoutAgreements' => 1,
'Magento_Captcha' => 1,
'Magento_PaymentGraphQl' => 1,
'Magento_Vault' => 1,
'Magento_Persistent' => 1,
'Magento_ProductAlert' => 1,
'Magento_ProductVideo' => 1,
'Magento_ConfigurableProductSales' => 1,
'Magento_QueryXml' => 1,
'Magento_CheckoutAgreements' => 1,
'Magento_QuoteBundleOptions' => 1,
'Magento_QuoteConfigurableOptions' => 1,
'Magento_QuoteDownloadableLinks' => 1,
Expand All @@ -105,6 +107,7 @@
'Magento_ReCaptchaMigration' => 1,
'Magento_ReCaptchaNewsletter' => 1,
'Magento_ReCaptchaPaypal' => 1,
'Magento_ReCaptchaResendConfirmationEmail' => 1,
'Magento_ReCaptchaReview' => 1,
'Magento_ReCaptchaSendFriend' => 1,
'Magento_ReCaptchaStorePickup' => 1,
Expand All @@ -119,42 +122,47 @@
'Magento_ReCaptchaWebapiGraphQl' => 1,
'Magento_ReCaptchaWebapiRest' => 1,
'Magento_ReCaptchaWebapiUi' => 1,
'Magento_ReCaptchaWishlist' => 1,
'Magento_Sitemap' => 1,
'Magento_Reports' => 1,
'Magento_RequireJs' => 1,
'Magento_Review' => 1,
'Magento_RemoteStorage' => 1,
'Magento_Rss' => 1,
'Magento_CatalogRule' => 1,
'Magento_ConfigurableImportExport' => 1,
'Magento_Elasticsearch8' => 1,
'Magento_ConfigurableProductSales' => 1,
'Magento_SalesDataExporter' => 1,
'Magento_SalesInventory' => 1,
'Magento_OfflineShipping' => 1,
'Magento_CatalogRuleConfigurable' => 1,
'Magento_CatalogSearch' => 1,
'Magento_JwtUserToken' => 1,
'Magento_Captcha' => 1,
'Magento_SalesRuleGraphQl' => 1,
'Magento_ConfigurableImportExport' => 1,
'Magento_OpenSearch' => 1,
'Magento_Analytics' => 1,
'Magento_SendFriend' => 1,
'Magento_Ui' => 1,
'Magento_AwsS3' => 1,
'Magento_SendFriend' => 1,
'Magento_CatalogRuleConfigurable' => 1,
'Magento_StoreDataExporter' => 1,
'Magento_Swatches' => 1,
'Magento_SwatchesLayeredNavigation' => 1,
'Magento_Tax' => 1,
'Magento_TaxImportExport' => 1,
'Magento_Elasticsearch' => 1,
'Magento_AdminGraphQlServer' => 1,
'Magento_Translation' => 1,
'Magento_TwoFactorAuth' => 1,
'Magento_Shipping' => 1,
'Magento_UrlRewrite' => 1,
'Magento_AsynchronousOperations' => 1,
'Magento_Elasticsearch7' => 1,
'Magento_Paypal' => 1,
'Magento_GoogleGtag' => 1,
'Magento_Vault' => 1,
'Magento_Webapi' => 1,
'Magento_WebapiAsync' => 1,
'Magento_WebapiSecurity' => 1,
'Magento_Weee' => 1,
'Magento_CatalogWidget' => 1,
'Magento_Wishlist' => 1,
'PayPal_Braintree' => 1
'StripeIntegration_Tax' => 1,
'StripeIntegration_Payments' => 1
],
'scopes' => [
'websites' => [
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"require": {
"magento/composer-dependency-version-audit-plugin": "~0.1",
"magento/composer-root-update-plugin": "^2.0.4",
"magento/product-community-edition": "2.4.8-p1"
"magento/product-community-edition": "2.4.8-p1",
"stripe/stripe-payments": "^4.4"
},
"autoload": {
"exclude-from-classmap": [
Expand Down
Loading