-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into release/6.9.3
- Loading branch information
Showing
886 changed files
with
82,972 additions
and
63,843 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: publish-release | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
|
||
jobs: | ||
publish-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: get-npm-version | ||
id: package-version | ||
uses: martinbeentjes/npm-get-version-action@main | ||
- name: Setup release | ||
env: | ||
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }} | ||
SSH_SDK_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY_PHP_SDK }} | ||
DESTINATION_REPOSITORY_USERNAME: 'mercadopago' | ||
DESTINATION_REPOSITORY_NAME: 'cart-woocommerce' | ||
GIT_USER_NAME: 'Mercado Pago' | ||
GIT_USER_EMAIL: '[email protected]' | ||
PACKAGE_VERSION: ${{ steps.package-version.outputs.current-version }} | ||
run: bin/setup-release.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: WooCommerce QIT Checks | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
- develop | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
run-qit-checks: | ||
runs-on: ubuntu-20.04 | ||
env: | ||
NO_COLOR: 1 | ||
QIT_DISABLE_ONBOARDING: yes | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Composer dependencies | ||
run: composer install | ||
|
||
- name: Make Build | ||
run: make build | ||
|
||
- name: Install QIT via Composer | ||
run: composer require woocommerce/qit-cli | ||
|
||
- name: Add Partner | ||
run: ./vendor/bin/qit partner:add --user='${{ secrets.PARTNER_USER }}' --application_password='${{ secrets.PARTNER_SECRET }}' | ||
|
||
- name: Run QIT E2E tests | ||
run: ./vendor/bin/qit run:woo-e2e woocommerce-mercadopago --zip=woocommerce-mercadopago.zip --wait | ||
|
||
- name: Run PHPStan QIT checks | ||
run: ./vendor/bin/qit run:phpstan woocommerce-mercadopago --zip=woocommerce-mercadopago.zip --wait | ||
|
||
- name: Run PHP Compatibility checks | ||
run: ./vendor/bin/qit run:phpcompatibility woocommerce-mercadopago --zip=woocommerce-mercadopago.zip --wait | ||
|
||
- name: Run Security checks | ||
run: ./vendor/bin/qit run:security woocommerce-mercadopago --zip=woocommerce-mercadopago.zip --wait | ||
|
||
- name: Run Woo API tests | ||
run: ./vendor/bin/qit run:woo-api woocommerce-mercadopago --zip=woocommerce-mercadopago.zip --wait | ||
|
||
- uses: marocchino/sticky-pull-request-comment@v2 | ||
if: failure() | ||
with: | ||
header: QIT Test Results | ||
recreate: true | ||
path: result.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
node_modules | ||
.DS_Store | ||
.vscode | ||
.idea | ||
.idea/ | ||
*.cache | ||
|
||
clover.xml | ||
coverage | ||
|
||
/.idea/ | ||
/.vscode/ | ||
/vendor/ | ||
/node_modules/ | ||
/code_analysis | ||
|
||
woocommerce-mercadopago.zip | ||
|
||
qit-env.yml |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
node_modules | ||
vendor | ||
**/*.min.js | ||
node_modules | ||
**/*.min.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
return (new PhpCsFixer\Config()) | ||
->setRules(array_fill_keys([ | ||
'nullable_type_declaration_for_default_null_value', | ||
], true)) | ||
->setFinder(PhpCsFixer\Finder::create()->in(__DIR__)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,26 @@ | ||
repos: | ||
# Websec hook is MANDATORY, DO NOT comment it. | ||
- repo: https://github.com/melisource/fury_websec-git-hooks | ||
rev: v1.0.5 | ||
- repo: git@github.com-emu:melisource/fury_websec-git-hooks | ||
rev: v2.0.0 | ||
hooks: | ||
- id: pre_commit_hook | ||
stages: [commit] | ||
- id: post_commit_hook | ||
stages: [post-commit] | ||
stages: [post-commit] | ||
|
||
- repo: [email protected]:melisource/fury_datasec-git-hooks.git | ||
rev: 1.2.0 | ||
hooks: | ||
- id: pre_commit_hook | ||
stages: [commit] | ||
verbose: true | ||
- id: post_commit_hook | ||
stages: [post-commit] | ||
|
||
- repo: local | ||
hooks: | ||
- id: add-index | ||
name: Add index.php | ||
stages: [pre-commit] | ||
language: script | ||
entry: ./bin/add-index.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"arrowParens": "always", | ||
"bracketSpacing": true, | ||
"endOfLine": "lf", | ||
"htmlWhitespaceSensitivity": "ignore", | ||
"insertPragma": false, | ||
"jsxSingleQuote": false, | ||
"printWidth": 120, | ||
"proseWrap": "always", | ||
"quoteProps": "as-needed", | ||
"requirePragma": false, | ||
"semi": true, | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"trailingComma": "all", | ||
"useTabs": false, | ||
"vueIndentScriptAndStyle": false, | ||
"embeddedLanguageFormatting": "off" | ||
} |
Oops, something went wrong.