Skip to content

Sync magento/ org upstream repositories into mirrors for mage-os distribution #579

Sync magento/ org upstream repositories into mirrors for mage-os distribution

Sync magento/ org upstream repositories into mirrors for mage-os distribution #579

name: Sync magento/ org upstream repositories into mirrors for mage-os distribution
on:
schedule: # Run schedule every day at 9:57
- cron: "57 9 * * *"
workflow_dispatch:
jobs:
sync-main-repo:
runs-on: ubuntu-latest
strategy:
matrix:
package:
- magento2
- magento2-sample-data
- magento2-page-builder
- magento-composer-installer
- zf1
- security-package
- inventory
- inventory-composer-installer
- page-builder-types
- composer-root-update-plugin
- composer-dependency-version-audit-plugin
- module-configurable-sample-data-venia
- devdocs
- adobe-ims
- adobe-stock-integration
- composer
- commerce-data-export
- magento-semver
- quality-patches
- magento-cloud-patches
- magento-coding-standard
- magento2-functional-testing-framework
- magento-zend-db
- magento-zend-loader
- magento-zend-pdf
- magento-zend-cache
- magento-zend-exception
- magento-zend-log
- magento-zend-memory
- PHPCompatibilityFork
steps:
- name: Install SSH Key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
known_hosts: "2048 SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8 github.com (RSA)"
- uses: actions/checkout@v3
- name: Sync magento/${{ matrix.package }} repository
run: bin/mirror-sync.sh magento/${{ matrix.package }} mage-os/mirror-${{ matrix.package }}
shell: bash