From 0a2315a3f34596f06129f8699137d3a275bbc268 Mon Sep 17 00:00:00 2001 From: anass-at Date: Sun, 2 Oct 2022 13:41:32 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20Created=20local=20'.github/workf?= =?UTF-8?q?lows/'=20from=20remote=20'.github/'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/airdrop/airdrop.php | 148 +++++ .github/workflows/dependbot/auto-merge.yaml | 3 + .github/workflows/dependbot/dependabot.yml | 15 + .../dependbot/workflows/dependabot.yml | 15 + .../ISSUE_TEMPLATE/bug_report.yml | 60 ++ .../ISSUE_TEMPLATE/feature_request.yml | 39 ++ .github/workflows/rector/rector.yaml | 90 +++ .../spotlight-doc/update-pull-body.yaml | 36 ++ .github/workflows/sync.yml | 545 ++++++++++++++++++ .github/workflows/unittest/unittest.yaml | 13 + .github/workflows/workflows/sync.yml | 14 + 11 files changed, 978 insertions(+) create mode 100644 .github/workflows/airdrop/airdrop.php create mode 100644 .github/workflows/dependbot/auto-merge.yaml create mode 100644 .github/workflows/dependbot/dependabot.yml create mode 100644 .github/workflows/dependbot/workflows/dependabot.yml create mode 100644 .github/workflows/public-repo-template/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/workflows/public-repo-template/ISSUE_TEMPLATE/feature_request.yml create mode 100644 .github/workflows/rector/rector.yaml create mode 100644 .github/workflows/spotlight-doc/update-pull-body.yaml create mode 100644 .github/workflows/sync.yml create mode 100644 .github/workflows/unittest/unittest.yaml create mode 100644 .github/workflows/workflows/sync.yml diff --git a/.github/workflows/airdrop/airdrop.php b/.github/workflows/airdrop/airdrop.php new file mode 100644 index 0000000..6ce0d84 --- /dev/null +++ b/.github/workflows/airdrop/airdrop.php @@ -0,0 +1,148 @@ + env('AIRDROP_DRIVER', 'default'), + + 'drivers' => [ + 'default' => [ + // The class responsible for implementing the stash and restore + // logic. Must extend BaseDriver. + 'class' => FilesystemDriver::class, + + // The disk on which to store the built files. + 'disk' => env('AIRDROP_REMOTE_DISK', 'airdrop_s3'), + + // The folder (if any) where you'd like your stashed assets to reside. + 'remote_directory' => env('AIRDROP_REMOTE_DIR', 'airdrop/{project}/{branch}'), + + // A writeable directory on the machine that builds the assets. + // Used to build up the ZIP file before stashing it. + 'local_tmp_directory' => env('AIRDROP_LOCAL_TMP_DIR', storage_path('framework')), + + // The skip file is an empty file that will be created to + // indicate that asset building can be skipped. + 'skip_file' => env('AIRDROP_SKIP_FILE', base_path('.airdrop_skip')), + ], + + 'github' => [ + // Use in conjunction with the Cache step in GitHub Actions. + 'class' => GithubActionsDriver::class, + + // Make sure this matches the `path` key in the + // cache step of your GitHub Actions Workflow. + 'local_tmp_directory' => env('AIRDROP_LOCAL_TMP_DIR', '/tmp/'), + + // The skip file is an empty file that will be created to + // indicate that asset building can be skipped. + 'skip_file' => env('AIRDROP_SKIP_FILE', base_path('.airdrop_skip')), + ] + ], + + /* + * Here you can register all of the classes that will be used in determining + * the freshness of previously built assets. When the output of any of the + * following classes change, a new build will be required. + */ + 'triggers' => [ + /* + * Trigger a rebuild when anything in this configuration array + * changes. We've started you off with your app's APP_ENV + * variable, but you are free to add anything else. + */ + ConfigTrigger::class => [ + // This will keep your dev, test, and prod assets distinct + // since they are usually built with different settings. + 'env' => env('APP_ENV') + ], + + /* + * Trigger a rebuild when files change. + */ + FileTrigger::class => [ + /* + * Files or folders that should be included. + */ + 'include' => [ + // By default we include every file in your resource path. Usually + // this makes the most sense and doesn't need to be changed. + resource_path(), + + // Any time the webpack.mix.js file is changed, it could affect the + // the build steps, and therefore the built files. + base_path('webpack.mix.js'), + + // Depending on your package manager, you'll want to uncomment one + // of the following lines. Whenever JS packages are updated or + // removed, the assets will need to be rebuilt. + // base_path('yarn.lock'), + // base_path('package-lock.json'), + + // If you use NVM to manage your node versions, you'll want to + // rebuild your assets anytime the node version changes. + // base_path('.nvmrc'), + + // If you use Tailwind, uncomment the following line. Changing your + // Tailwind config will change the CSS files that are generated. + // base_path('tailwind.config.js'), + ], + + /* + * Files or folders that should be excluded or ignored. + */ + 'exclude' => [ + // + ], + + /* + * Filename strings or patterns that should be excluded, + * regardless of what directory they are found in. + */ + 'exclude_names' => [ + '.DS_Store' + ] + ] + ], + + /* + * The outputs section contains all the folders and files that are the result + * of your asset build process. If the next deploy does not require a rebuild, + * Airdrop will grab these built assets from the last deploy and put them + * into the place from which they came. + */ + 'outputs' => [ + /* + * Files or folders that should be included. + */ + 'include' => [ + // The mix-manifest file tells Laravel how to get your versioned assets. + public_path('mix-manifest.json'), + + // Compiled CSS. + public_path('css'), + + // Compiled JS. + public_path('js'), + ], + + /* + * Files or folders that should be excluded or ignored. + */ + 'exclude' => [ + // + ], + + /* + * Filename strings or patterns that should be excluded, + * regardless of what directory they are found in. + */ + 'exclude_names' => [ + '.DS_Store' + ] + ], +]; diff --git a/.github/workflows/dependbot/auto-merge.yaml b/.github/workflows/dependbot/auto-merge.yaml new file mode 100644 index 0000000..75e7754 --- /dev/null +++ b/.github/workflows/dependbot/auto-merge.yaml @@ -0,0 +1,3 @@ +- match: + dependency_type: all + update_type: "semver:patch" # includes patch updates! \ No newline at end of file diff --git a/.github/workflows/dependbot/dependabot.yml b/.github/workflows/dependbot/dependabot.yml new file mode 100644 index 0000000..7e4ced1 --- /dev/null +++ b/.github/workflows/dependbot/dependabot.yml @@ -0,0 +1,15 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "composer" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "daily" + - package-ecosystem: "npm" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "daily" diff --git a/.github/workflows/dependbot/workflows/dependabot.yml b/.github/workflows/dependbot/workflows/dependabot.yml new file mode 100644 index 0000000..7e4ced1 --- /dev/null +++ b/.github/workflows/dependbot/workflows/dependabot.yml @@ -0,0 +1,15 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "composer" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "daily" + - package-ecosystem: "npm" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "daily" diff --git a/.github/workflows/public-repo-template/ISSUE_TEMPLATE/bug_report.yml b/.github/workflows/public-repo-template/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..f84a1ba --- /dev/null +++ b/.github/workflows/public-repo-template/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,60 @@ +name: 🐛 Bug Report +description: Create a report to help us improve Salla CLI +title: "bug: " +body: + - type: checkboxes + attributes: + label: Prerequisites + description: Please ensure you have completed the following. + options: + - label: I have searched for [existing issues](https://github.com/SallaApp/Salla-CLI/issues) that already report this problem, without success. + required: true + - type: checkboxes + attributes: + label: SallaCLI Version + description: Please select which versions of Salla CLI this issue impacts. For Salla CLI 1.x issues, please use https://github.com/SallaApp/Salla-CLI. + options: + - label: v1.x + - type: dropdown + id: issue_type + attributes: + label: Salla CLI issue Type + description: Please select the project type. + options: + - App + - Theme + validations: + required: true + - type: textarea + attributes: + label: Current Behavior + description: A clear description of what the bug is and how it manifests. + validations: + required: true + - type: textarea + attributes: + label: Expected Behavior + description: A clear description of what you expected to happen. + validations: + required: true + - type: textarea + attributes: + label: Steps to Reproduce + description: Please explain the steps required to duplicate this issue. + validations: + required: true + - type: input + attributes: + label: Code Reproduction URL + description: Please reproduce this issue in a blank Salla CLI starter application and provide a link to the repo. Try out our [Getting Started Wizard](https://salla-dev.webpkgcache.com/doc/-/s/salla.dev/blog/meet-salla-cli/) to quickly spin up an Salla CLI starter app. This is the best way to ensure this issue is triaged quickly. Issues without a code reproduction may be closed if the Ionic Team cannot reproduce the issue you are reporting. + placeholder: https://github.com/... + - type: textarea + attributes: + label: Salla Info + description: Please run `salla info` from within your Salla CLI project directory and paste the output below. + validations: + required: true + - type: textarea + attributes: + label: Additional Information + description: List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to fix, Stack Overflow links, forum links, etc. \ No newline at end of file diff --git a/.github/workflows/public-repo-template/ISSUE_TEMPLATE/feature_request.yml b/.github/workflows/public-repo-template/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..0e54fa6 --- /dev/null +++ b/.github/workflows/public-repo-template/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,39 @@ +name: 💡 Feature Request +description: Suggest an idea for Salla CLI +title: "feat: " +body: + - type: checkboxes + attributes: + label: Prerequisites + description: Please ensure you have completed all of the following. + options: + - label: I have searched for [existing issues](https://github.com/SallaApp/Salla-CLI/issues) that already include this feature request, without success. + required: true + - type: textarea + attributes: + label: Describe the Feature Request + description: A clear and concise description of what the feature does. + validations: + required: true + - type: textarea + attributes: + label: Describe the Use Case + description: A clear and concise use case for what problem this feature would solve. + validations: + required: true + - type: textarea + attributes: + label: Describe Preferred Solution + description: A clear and concise description of what you how you want this feature to be added to Salla CLI. + - type: textarea + attributes: + label: Describe Alternatives + description: A clear and concise description of any alternative solutions or features you have considered. + - type: textarea + attributes: + label: Related Code + description: If you are able to illustrate the feature request with an example, please provide a sample Salla CLI application. Try out our [Getting Started Wizard](https://salla.dev/blog/meet-salla-cli/) to quickly spin up an Salla CLI starter app. + - type: textarea + attributes: + label: Additional Information + description: List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to implement, Stack Overflow links, forum links, etc. \ No newline at end of file diff --git a/.github/workflows/rector/rector.yaml b/.github/workflows/rector/rector.yaml new file mode 100644 index 0000000..aba8423 --- /dev/null +++ b/.github/workflows/rector/rector.yaml @@ -0,0 +1,90 @@ +name: Rector +on: + push: + branches: + - master + workflow_dispatch: +jobs: + build: + if: "!contains(github.event.head_commit.message, 'rector enhance')" + runs-on: ubuntu-latest + container: + image: sallasa/rector:0.6 + credentials: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_PASS }} + steps: + - name: CHECKOUT + uses: actions/checkout@v2 + with: + token: ${{ secrets.PROTECTED_BRANCH_TOKEN }} + + - name: GET rector.php + run: curl https://salla-dev.oss-eu-central-1.aliyuncs.com/devops/rector.php --output rector.php + + - name: RUN RECTOR + run: /app/vendor/bin/rector process + + - name: FIX GIT PERMISSION + run: | + git config --global --add safe.directory /github/workspace + + - name: REMOVE RECTOR FILE + continue-on-error: true + run: | + rm rector.php + + - name: CHEECK RECTOR CHANGE + id: changes + uses: UnicornGlobal/has-changes-action@v1.0.11 + + + - name: CLOSE PULL REQUEST + if: steps.changes.outputs.changed == 1 + uses: kyslik/close-pull-requests-based-on-label@v1.0.0 + env: + LABEL: rector-enhance + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: DELETE RECTOR OLD BRANCH + continue-on-error: true + if: steps.changes.outputs.changed == 1 + uses: dawidd6/action-delete-branch@v3 + with: + github_token: ${{github.token}} + branches: rector-enhancement + + - name: COMMIT CHANGES + if: steps.changes.outputs.changed == 1 + run: | + git config --global --add safe.directory /__w/${{ github.event.repository.name }}/${{ github.event.repository.name }} + BRANCH_NAME="rector-enhancement" + echo "BRANCH_NAME=$(echo $BRANCH_NAME)" >> $GITHUB_ENV + + echo $BRANCH_NAME + git config --global user.name ${{secrets.GIT_DEVOPS_USERNAME}} + git config --global user.email "${{secrets.GIT_DEVOPS_EMAIL}}@users.noreply.github.com" + git checkout -b $BRANCH_NAME + git add . + git commit -m "rector enhance ⚙️" + git push --set-upstream origin $BRANCH_NAME + + + - name: create pull-request + uses: repo-sync/pull-request@v2 + with: + source_branch: ${{ env.BRANCH_NAME }} + destination_branch: "master" + pr_title: "🚧 [Rector Enhancement]🚧" + pr_body: | + ## Rector upgrading to PHP 7.4 ⬆️ + This pr is auto generated with every push to master + # pr_template: ".github/PULL_REQUEST_TEMPLATE.md" + # pr_reviewer: "wei,worker" + pr_assignee: "salkhwlani,${{ github.event.commits[0].committer.name }}" + pr_label: "rector-enhance" + # pr_milestone: "Milestone 1" + pr_draft: false + pr_allow_empty: true + github_token: ${{ secrets.GITHUB_TOKEN }} + diff --git a/.github/workflows/spotlight-doc/update-pull-body.yaml b/.github/workflows/spotlight-doc/update-pull-body.yaml new file mode 100644 index 0000000..81c2be3 --- /dev/null +++ b/.github/workflows/spotlight-doc/update-pull-body.yaml @@ -0,0 +1,36 @@ +name: update pull body +on: + pull_request: + types: [opened, reopened] +jobs: + pull-request: + runs-on: ubuntu-latest + steps: + - name: prepare env +# env: +# GITHUB_CONTEXT: ${{ toJson(github) }} + run: | + export TZ=Asia/Riyadh + if [ ${{ github.repository }} == "SallaApp/dashboard-api-docs" ] ; then + echo "PROJECT_ID=$(echo "68673" )" >> $GITHUB_ENV + echo "PROJECT_NAME=$(echo "merchant" )" >> $GITHUB_ENV + elif [ ${{ github.repository }} == "SallaApp/store-api-docs" ] ; then + echo "PROJECT_ID=$(echo "68673" )" >> $GITHUB_ENV + echo "PROJECT_NAME=$(echo "store-api" )" >> $GITHUB_ENV + elif [ ${{ github.repository }} == "SallaApp/DevelopersPortal-API-Docs" ] ; then + echo "PROJECT_ID=$(echo "6009571" )" >> $GITHUB_ENV + echo "PROJECT_NAME=$(echo "developersportal-api-docs" )" >> $GITHUB_ENV + fi + echo "BRANCH=$(echo ${{ github.head_ref }} | sed 's|/|%252F|g' )" >> $GITHUB_ENV + echo "TIME=$(date '+%Y-%m-%d %H:%M')" >> $GITHUB_ENV +# echo "$GITHUB_CONTEXT" + - name: update-pull-request + uses: AsasInnab/pr-body-action@v1 + with: + body: | + ### Stoplight Projects + | Name | URL | Updated | + | :--- | :------ | :------ | + | **Doc** | [URL](https://salla.stoplight.io/docs/${{ env.PROJECT_NAME }}/branch/${{ env.BRANCH }}/) | ${{ env.TIME }} | + | **Mock Server** | [URL](https://stoplight.io/mocks/salla/${{ env.PROJECT_NAME }}:${{ env.BRANCH }}/${{ env.PROJECT_ID }}) | ${{ env.TIME }} | + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml new file mode 100644 index 0000000..a29627b --- /dev/null +++ b/.github/workflows/sync.yml @@ -0,0 +1,545 @@ +group: +# - files: +# - source: .github/unittest/ +# dest: .github/workflows/ +# repos: +# SallaApp/page-speedup@master + + # - files: + # - source: ./github/workflows/auto-merge.yaml + # # replace: true + # dest: .github/auto-merge.yaml + # # deleteOrphaned: true + # repos: | + # SallaApp/Jenkins-Bot-v2@master + # SallaApp/Helper-Bot@master + # SallaApp/AWS@master + # SallaApp/Nasa@master + # SallaApp/Dashboard@master + # SallaApp/Store@master + # SallaApp/Merchant@master + # SallaApp/Shipping@master + # SallaApp/DashboardAuth@master + # SallaApp/UrlShortener@master + # SallaApp/Core@master + # SallaApp/Announcement-module@master + # SallaApp/Packages-satis@master + # SallaApp/docs@master + # SallaApp/DomainModule@master + # SallaApp/Omnipay-moyasar@master + # SallaApp/Payments@master + # SallaApp/Laravel-otp@master + # SallaApp/Google-tags@master + # SallaApp/Baremetrics-api@master + # SallaApp/Salla-wp@master + # SallaApp/demo-themes@master + # SallaApp/Partners@master + # SallaApp/Components-Module@master + # SallaApp/Shipping-Config@master + # SallaApp/salla_ui_collapse_list@master + # SallaApp/salla_ui_list_with_header@master + # SallaApp/salla_ui_regular_list@master + # SallaApp/salla_ui_slide_menu@master + # SallaApp/salla_ui_list_with_soecial_rows@master + # SallaApp/salla_ui_side_menu_pattern_1@master + # SallaApp/salla_ui_side_menu_pattern_2@master + # SallaApp/salla_ui_nested_list@master + # SallaApp/email-templates@master + # SallaApp/Omnipay-free@master + # SallaApp/Salla_LogIn-iOS@master + # SallaApp/Omnipay-noon@master + # SallaApp/SallaMerchantApp@master + # SallaApp/Impex-Module@master + # SallaApp/omnipay-bank-transfer@master + # SallaApp/Sitemap-Module@master + # SallaApp/CodeEditor-Module@master + # SallaApp/Salla-Errors@master + # SallaApp/Salla-Clonify@master + # SallaApp/SpecialOffer-Module@master + # SallaApp/Salla-Events@master + # SallaApp/Omnipay-Cod@master + # SallaApp/Salla-Sms@master + # SallaApp/Salla-Api-Basic@master + # SallaApp/polr@master + # SallaApp/Orders-Module@master + # SallaApp/Salla-Logger@master + # SallaApp/ChangeLog-Module@master + # SallaApp/Marketing-Module@master + # SallaApp/Omnipay-paypal@master + # SallaApp/OneSignal-Module@master + # SallaApp/Feature-Rules@master + # SallaApp/Settings-Module@master + # SallaApp/ExternalService-Module@master + # SallaApp/Mahali@master + # SallaApp/Stores-Cart@master + # SallaApp/Breadcrumb-Store@master + # SallaApp/Salla-Module@master + # SallaApp/domain-package@master + # SallaApp/package@master + # SallaApp/Store-Module@master + # SallaApp/Aws-Email@master + # SallaApp/Vat-Calculation@master + # SallaApp/tokenable@master + # SallaApp/DashboardApiModule@master + # SallaApp/tap-omnipay@master + # SallaApp/instagram-api@master + # SallaApp/Store-Menu-Module@master + # SallaApp/quick-shipping@master + # SallaApp/StoreApp-Module@master + # SallaApp/Packages-dev-satis@master + # SallaApp/Salla-Activites@master + # SallaApp/Maxpanel@master + # SallaApp/Dashboard-Tracking@master + # SallaApp/Payment-Module@master + # SallaApp/ThemeCustomization-Module@master + # SallaApp/saee-shipping@master + # SallaApp/Omnipay-Paytabs@master + # SallaApp/Omnipay-payfort@master + # SallaApp/Advertisements-Module@master + # SallaApp/Complaints-Module@master + # SallaApp/Demo-UI@master + # SallaApp/Customer-Module@master + # SallaApp/Omnipay-checkout@master + # SallaApp/Omnipay-tap@master + # SallaApp/Omnipay-telr@master + # SallaApp/Export-EPayments@master + # SallaApp/Money@master + # SallaApp/Homepage-builder@master + # SallaApp/StoreBranch-Module@master + # SallaApp/Qoyod-Service@master + # SallaApp/Mycn-shipping@master + # SallaApp/Accounting-Services@master + # SallaApp/Daftra-Service@master + # SallaApp/SaudiPost-Service@master + # SallaApp/Elasticsearch-Products@master + # SallaApp/Salla-Store-Resethook@master + # SallaApp/ZohoBooks-Service@master + # SallaApp/sluggable@master + # SallaApp/Checkout-Module@master + # SallaApp/Product-Module@master + # SallaApp/Ratelimiter@master + # SallaApp/Homepage-builder-Api@master + # SallaApp/Omnipay-STC@master + # SallaApp/OTO-shipping@master + # SallaApp/Elasticsearch@master + # SallaApp/Dynamics-CRM@master + # SallaApp/kubernetes@master + # SallaApp/Dgraph@master + # SallaApp/Docker-Web-Base@master + # SallaApp/ui@master + # SallaApp/test@master + # SallaApp/aymakan-shipping@master + # SallaApp/Docker-Redis@master + # SallaApp/theme-utils@master + # SallaApp/twilight@master + # SallaApp/theme-x@master + # SallaApp/Salla-CLI-Internal@master + # SallaApp/Languages-Module@master + # SallaApp/Postman-Convert@master + # SallaApp/beez-shipping@master + # SallaApp/track-shipping@master + # SallaApp/Matomo-Docker@master + # SallaApp/redis-oprator@master + # SallaApp/Ajeek-shipping@master + # SallaApp/barq-shipping@master + # SallaApp/shipping-company-stubs@master + # SallaApp/Zapier@master + # SallaApp/Omnipay-bayan@master + # SallaApp/laravel-schedule-monitor@master + # SallaApp/AutomationCertificate@master + # SallaApp/report-module@master + # SallaApp/Github-Bot@master + # SallaApp/laravel-geo@master + # SallaApp/diggipacks-shipping@master + # SallaApp/SallaWebVuwSDK-Demo@master + # SallaApp/WebDispatcher@master + # SallaApp/Sales-Machine-Api@master + # SallaApp/isnaad-shipping@master + # SallaApp/lara-pdf@master + # SallaApp/esnad-express-shipping@master + # SallaApp/core-js@master + # SallaApp/ups-shipping@master + # SallaApp/Dafater@master + # SallaApp/Shipping-Services@master + # SallaApp/helpDesk-Module@master + # SallaApp/development-guides@master + # SallaApp/salla-sockets@master + # SallaApp/AWS-doc@master + # SallaApp/violation-module@master + # SallaApp/marketplace-module@master + # SallaApp/integrator@master + # SallaApp/laravel-s3-browser-based-uploads@master + # SallaApp/Fluentd-Image@master + # SallaApp/STC@master + # SallaApp/laravel-cronless-schedule@master + # SallaApp/docker-app-files@master + # SallaApp/Omnipay-tamara@master + # SallaApp/shipox-shipping@master + # SallaApp/omnipay-tabby@master + # SallaApp/browser-notifications@master + # SallaApp/mlcgo-shipping@master + # SallaApp/tookan-shipping@master + # SallaApp/payments-package@master + # SallaApp/store-wallet@master + # SallaApp/Slack-Bot@master + # SallaApp/525k-shipping@master + # SallaApp/safe-arrival-shipping@master + # SallaApp/Setting-Manager@master + # SallaApp/laravel-notification-rate-limit@master + # SallaApp/eijack-shipping@master + # SallaApp/road-shipping@master + # SallaApp/Salla-CocoaPods@master + # SallaApp/CustomLib3@master + # SallaApp/CustomLib4@master + # SallaApp/custom_lib_1005_gem@master + # SallaApp/fastlane_one_signal@master + # SallaApp/salla_metadata@master + # SallaApp/one_signal_api@master + # SallaApp/bitrise_trigger@master + # SallaApp/Dashboard-Docs@master + # SallaApp/storage-station-shipping@master + # SallaApp/graphql-client@master + # SallaApp/holmes@master + # SallaApp/dashboard-api-docs@master + # SallaApp/Laravel-Menu@master + # SallaApp/theme-y@master + # SallaApp/Docker-Ubuntu@master + # SallaApp/Docker-Php-Nginx@master + # SallaApp/mcrouter-operator@master + # SallaApp/horizon@master + # SallaApp/zajil-shipping@master + # SallaApp/umami@master + # SallaApp/devops-automation@master + # SallaApp/socialiteproviders-apple@master + # SallaApp/help-center-module@master + # SallaApp/sallaapp-labelsync@master + # SallaApp/Salla-Laravel-SA@master + # SallaApp/DevelopersPortal@master + # SallaApp/API-Tutorials@master + # SallaApp/DevelopersPortal-API-Docs@master + # SallaApp/Twilight-Docs@master + # SallaApp/labaih-shipping@master + # SallaApp/mkhdoom-shipping@master + # SallaApp/mahmool-shipping@master + # SallaApp/clickport@master + # SallaApp/Anonaddy@master + # SallaApp/redbox-shipping@master + # SallaApp/omnipay-oppwa@master + # SallaApp/Jenkins-Bot@master + # SallaApp/AWS-dev@master + # SallaApp/Cloudflare-Workers-Subscribe-Form@master + # SallaApp/Cloudflare-Workers-Docs-Dev@master + # SallaApp/kedan-shipping@master + # SallaApp/Omnipay-Spotii@master + # SallaApp/get-price@master + # SallaApp/fastcoo-shipping@master + # SallaApp/campaigns-module@master + # SallaApp/apple-pay-js@master + # SallaApp/totango@master + # SallaApp/languages-utils@master + # SallaApp/sift@master + # SallaApp/languages-helpers@master + # SallaApp/applePay-js@master + # SallaApp/web-base-image@master + # SallaApp/App-Store-Vue@master + # SallaApp/clickup_api@master + # SallaApp/zttp@master + # SallaApp/laravel-duplicate@master + # SallaApp/Sanitizer@master + # SallaApp/hydra-client-php@master + # SallaApp/Rutterapi-Service@master + # SallaApp/mailchimp@master + # SallaApp/xturbo-shipping@master + # SallaApp/forwardemail@master + # SallaApp/Github-Files@master + # SallaApp/test-kodiak@master + # SallaApp/WhatsApp-Business@master + # SallaApp/builder-landingPage@master + # SallaApp/Blog-Module@master + # SallaApp/salla-automation@master + # SallaApp/testing@master + # SallaApp/ubuntu20-php@master + # SallaApp/test-automerge@master + # SallaApp/klaviyo-api@master + # SallaApp/loyalty-system-module@master + # SallaApp/Hoa-Protocol@master + # SallaApp/image-uploader-microservice@master + # SallaApp/oauth2-merchant-old@master + # SallaApp/salla-starter-html-template@master + # SallaApp/twilight-components-private@master + # SallaApp/planhat-api@master + # SallaApp/salla-vuejs-starter-theme@master + # SallaApp/oauth2-merchant@master + # SallaApp/Salla-CLI-Private@master + # SallaApp/oauth2-merchant-laravel-old@master + # SallaApp/SallaB2B@master + # SallaApp/theme-food@master + # SallaApp/salla-vue-datagrid@master + # SallaApp/salla-revogrid@master + # SallaApp/pclzip@master + # SallaApp/webpack-theme-watch-plugin@master + # SallaApp/salla-web-components-react@master + # SallaApp/salla.dev@master + # SallaApp/ZATCA@master + # SallaApp/theme-expand@master + # SallaApp/Salla-Base-Image@master + # SallaApp/eslint-config-salla@master + # SallaApp/jamalY@master + # SallaApp/sallla_base_new@master + # SallaApp/Sitemap-Generator@master + # SallaApp/Whatsapp-Bot@master + # SallaApp/aha-ideas@master + # SallaApp/Salla-Users@master + # SallaApp/Theme-01@master + # SallaApp/SallaTestEngine@master + # SallaApp/theme-one@master + # SallaApp/Foodics-App@master + # SallaApp/WebHookServer@master + # SallaApp/laravel-starter-kit@master + # SallaApp/express-starter-kit@master + # SallaApp/twilight-js@master + # SallaApp/form-builder@master + # SallaApp/webhook-actions-js@master + # SallaApp/packages.salla.sa@master + # SallaApp/Websocket-Js@master + # SallaApp/Websocket@master + # SallaApp/form-builder-module@master + # SallaApp/Mapping-Wizard@master + # SallaApp/terraform_eks_helm@master + # SallaApp/Laravel-Factories-8.x@master + # SallaApp/Salla-CLI@master + # SallaApp/laravel-poeditor-sync@master + # SallaApp/Developers-Portal-Vue@master + # SallaApp/.NET-Framework-Passport-Strategy@master + # SallaApp/Vue-Boilerplate@master + # SallaApp/SupportLib@master + # SallaApp/dbt_clickhouse@master + # SallaApp/Audit-Log@master + # SallaApp/Custom-Fields@master + # SallaApp/dbt_utils@master + # SallaApp/airflow@master + # SallaApp/Helper-Bot@master + # SallaApp/twilight-vscode-extension@master + # SallaApp/AWS-Ref-Cluster@master + # SallaApp/twilight-themes-documentation@master + # SallaApp/Disaster-Recovery-Bot@master + # SallaApp/Migrations@master + # SallaApp/Themes-Marketplace@master + # SallaApp/Theme-Preview@master + # SallaApp/salla-cli-docs@master + # SallaApp/twilight-components@master + # SallaApp/Challanges@master + # SallaApp/twilight-phpcs@master + # SallaApp/data-helper-scripts@master + # SallaApp/Utils-Jobs-Automation@master + # SallaApp/Twilight-CI@master + # SallaApp/Salla-Clipper-Website@master + # SallaApp/Salla-Step-Recorder@master + # SallaApp/docker-theme-check@master + # SallaApp/ChangeLog-App@master + # SallaApp/Help-Center-App@master + # SallaApp/twilight-ci-job-triggerer@master + # SallaApp/dashboard-internal-api-docs@master + # SallaApp/store-api-docs@master + # SallaApp/DB-Scripts@master + # SallaApp/twilight-js-playground@master + # SallaApp/twilight-components-playground@master + # SallaApp/twilight-async-jobs@master + # SallaApp/Sync-Files@master + # SallaApp/-AWS-EKS-Cluster-OPC@master + # SallaApp/AWS-EKS-Terraform@master + # SallaApp/AWS-EKS-Cluster@master + + + # - files: + # - source: .github/spotlight-doc/ + # dest: .github/workflows/ + # repos: | + # SallaApp/DevelopersPortal-API-Docs + # SallaApp/store-api-docs@master + # SallaApp/dashboard-api-docs@main + + # - files: + # - source: .github/airdrop/ + # dest: config/ + # repos: | + # SallaApp/Dashboard@feature-airdrop + # SallaApp/Store@feature-airdrop + # SallaApp/DevelopersPortal@feature-airdrop + + + # - files: + # - source: .github/rector/ + # dest: .github/workflows/ + # repos: | + # SallaApp/DomainModule@master + # SallaApp/ChangeLog-Module@master + # SallaApp/Salla-Clonify@master + # SallaApp/StoreApp-Module@master + # SallaApp/Core@master + # SallaApp/SpecialOffer-Module@master + # SallaApp/Marketing-Module@master + # SallaApp/Components-Module@master + # SallaApp/Maxpanel@master + # SallaApp/Payments@master + # SallaApp/Feature-Rules@master + # SallaApp/Omnipay-moyasar@master + # SallaApp/ExternalService-Module@master + # SallaApp/Settings-Module@master + # SallaApp/ThemeCustomization-Module@master + # SallaApp/laravel-geo@master + # SallaApp/Sales-Machine-Api@master + # SallaApp/StoreBranch-Module@master + # SallaApp/Customer-Module@master + # SallaApp/Ratelimiter@master + # SallaApp/Elasticsearch@master + # SallaApp/Salla-CLI-Internal@master + # SallaApp/totango@master + # SallaApp/Setting-Manager@master + # SallaApp/laravel-notification-rate-limit@master + # SallaApp/hydra-client-php@master + # SallaApp/laravel-cronless-schedule@master + # SallaApp/help-center-module@master + # SallaApp/laravel-duplicate@master + # SallaApp/Sanitizer@master + # SallaApp/campaigns-module@master + # SallaApp/Omnipay-tamara@master + # SallaApp/socialiteproviders-apple@master + # SallaApp/Laravel-Menu@master + # SallaApp/graphql-client@master + # SallaApp/omnipay-tabby@master + # SallaApp/pclzip@master + # SallaApp/Laravel-Factories-8.x@master + # SallaApp/Migrations@master + # SallaApp/Blog-Module@master + # SallaApp/Laravel-otp@master + # SallaApp/aymakan-shipping@master + # SallaApp/loyalty-system-module@master + # SallaApp/mailchimp@master + # SallaApp/Audit-Log@master + # SallaApp/Websocket@master + # SallaApp/form-builder-module@master + # SallaApp/aha-ideas@master + # SallaApp/Sitemap-Generator@master + # SallaApp/525k-shipping@master + # SallaApp/beez-shipping@master + # SallaApp/Languages-Module@master + # SallaApp/Salla-Errors@master + # SallaApp/Salla-Users@master + # SallaApp/Omnipay-bayan@master + # SallaApp/Salla-Events@master + # SallaApp/salla-sockets@master + # SallaApp/Sitemap-Module@master + # SallaApp/storage-station-shipping@master + # SallaApp/theme-x@master + # SallaApp/saee-shipping@master + # SallaApp/Money@master + # SallaApp/Salla-Api-Basic@master + # SallaApp/OneSignal-Module@master + # SallaApp/report-module@master + # SallaApp/DashboardApiModule@master + # SallaApp/Dgraph@master + # SallaApp/marketplace-module@master + # SallaApp/Mycn-shipping@master + # SallaApp/Salla-Activites@master + # SallaApp/tokenable@master + # SallaApp/devmate@master + # SallaApp/isnaad-shipping@master + # SallaApp/browser-notifications@master + # SallaApp/store-wallet@master + # SallaApp/violation-module@master + # SallaApp/Payment-Module@master + # SallaApp/road-shipping@master + # SallaApp/fastcoo-shipping@master + # SallaApp/Hoa-Protocol@master + # SallaApp/xturbo-shipping@master + # SallaApp/ZohoBooks-Service@master + # SallaApp/Daftra-Service@master + # SallaApp/labaih-shipping@master + # SallaApp/eijack-shipping@master + # SallaApp/omnipay-oppwa@master + # SallaApp/Aws-Email@master + # SallaApp/mkhdoom-shipping@master + # SallaApp/helpDesk-Module@master + # SallaApp/Announcement-module@master + # SallaApp/Store-Menu-Module@master + # SallaApp/twilight@master + # SallaApp/diggipacks-shipping@master + # SallaApp/laravel-s3-browser-based-uploads@master + # SallaApp/STC@master + # SallaApp/redbox-shipping@master + # SallaApp/Omnipay-tap@master + # SallaApp/zttp@master + # SallaApp/Store-Module@master + # SallaApp/Slack-Bot@master + # SallaApp/page-speedup@master + # SallaApp/Baremetrics-api@master + # SallaApp/Breadcrumb-Store@master + # SallaApp/theme-y@master + # SallaApp/Omnipay-paypal@master + # SallaApp/page-speedup@master + # SallaApp/tookan-shipping@master + # SallaApp/Omnipay-checkout@master + # SallaApp/SupportLib@master + # SallaApp/barq-shipping@master + # SallaApp/mlcgo-shipping@master + # SallaApp/mahmool-shipping@master + # SallaApp/esnad-express-shipping@master + # SallaApp/forwardemail@master + # SallaApp/Omnipay-free@master + # SallaApp/Complaints-Module@master + # SallaApp/Custom-Fields@master + # SallaApp/theme-food@master + # SallaApp/planhat-api@master + # SallaApp/lara-pdf@master + # SallaApp/Impex-Module@master + # SallaApp/Stores-Cart@master + # SallaApp/track-shipping@master + # SallaApp/Omnipay-STC@master + # SallaApp/instagram-api@master + # SallaApp/CodeEditor-Module@master + # SallaApp/Salla-Store-Resethook@master + # SallaApp/Shipping-Services@master + # SallaApp/Qoyod-Service@master + # SallaApp/Google-tags@master + # SallaApp/shipox-shipping@master + # SallaApp/Ajeek-shipping@master + # SallaApp/laravel-schedule-monitor@master + # SallaApp/ups-shipping@master + # SallaApp/SaudiPost-Service@master + # SallaApp/Accounting-Services@master + # SallaApp/WhatsApp-Business@master + # SallaApp/Omnipay-Paytabs@master + # SallaApp/theme-one@master + # SallaApp/Omnipay-Spotii@master + # SallaApp/Salla-Sms@master + # SallaApp/quick-shipping@master + # SallaApp/safe-arrival-shipping@master + # SallaApp/Omnipay-noon@master + # SallaApp/klaviyo-api@master + # SallaApp/Advertisements-Module@master + # SallaApp/sift@master + # SallaApp/Rutterapi-Service@master + # SallaApp/sluggable@master + # SallaApp/Shipping@master + # SallaApp/Shipping-Config@master + # SallaApp/Omnipay-Cod@master + # SallaApp/Salla-Logger@master + # SallaApp/omnipay-bank-transfer@master + # SallaApp/email-templates@master + # SallaApp/Dashboard-Tracking@master + # SallaApp/kedan-shipping@master + # SallaApp/OTO-shipping@master + # SallaApp/zajil-shipping@master + + - files: + - source: .github/ + dest: .github/workflows/ + repos: | + SallaApp/theme-raed@master + SallaApp/express-starter-kit@master + SallaApp/oauth2-merchant@master + SallaApp/ZATCA@master + SallaApp/passport-strategy@master + SallaApp/laravel-starter-kit@master + diff --git a/.github/workflows/unittest/unittest.yaml b/.github/workflows/unittest/unittest.yaml new file mode 100644 index 0000000..201357f --- /dev/null +++ b/.github/workflows/unittest/unittest.yaml @@ -0,0 +1,13 @@ +name: Unit Tests +on: + push: + branches: + - master +jobs: + phpunit: + name: PHPUnit + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Run unit test + uses: nathanheffley/laravel-phpunit-action@master \ No newline at end of file diff --git a/.github/workflows/workflows/sync.yml b/.github/workflows/workflows/sync.yml new file mode 100644 index 0000000..7645508 --- /dev/null +++ b/.github/workflows/workflows/sync.yml @@ -0,0 +1,14 @@ +name: Sync Files +on: + workflow_dispatch: +jobs: + sync: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@master + - name: Run GitHub File Sync + uses: BetaHuhn/repo-file-sync-action@v1 + with: + GH_PAT: ${{ secrets.PROTECTED_BRANCH_TOKEN }} + SKIP_PR: true