Skip to content

Commit 5f181b3

Browse files
authored
Merge branch 'main' into bugfix/FAHU/make-vault-migration-compatible-with-disabled-paypal-module
2 parents fe96bbc + f37a2d8 commit 5f181b3

File tree

68 files changed

+2314
-377
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+2314
-377
lines changed

.github/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ magento:
1515
install:
1616
composer config --json repositories.local '{"type": "path", "url": "/data/extensions/workdir", "options": { "symlink": false } }'
1717
composer require "adyen/module-payment:*"
18-
vendor/bin/phpcs --standard=Magento2 --extensions=php,phtml --error-severity=10 --ignore-annotations -n -p vendor/adyen/module-payment
18+
vendor/bin/phpcs --standard=Magento2 --extensions=php,phtml --error-severity=10 -n -p vendor/adyen/module-payment
1919
bin/magento module:enable Adyen_Payment
2020
bin/magento setup:upgrade
2121
bin/magento setup:di:compile

.github/codeql-config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
paths-ignore:
2+
- 'view/base/web/js'

.github/workflows/codeql.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ name: "CodeQL"
22

33
on:
44
pull_request:
5-
paths-ignore:
6-
- 'view/base/web/js/**'
5+
workflow_dispatch:
76

87
jobs:
98
analyze:
109
name: Analyze
1110
runs-on: ubuntu-latest
11+
timeout-minutes: 25
1212
permissions:
1313
actions: read
1414
contents: read
@@ -24,15 +24,13 @@ jobs:
2424
uses: actions/checkout@v3
2525

2626
- name: Initialize CodeQL
27-
uses: github/codeql-action/init@v2
27+
uses: github/codeql-action/init@v3
2828
with:
2929
languages: ${{ matrix.language }}
3030
queries: +security-and-quality
31-
32-
- name: Autobuild
33-
uses: github/codeql-action/autobuild@v2
31+
config-file: ./.github/codeql-config.yml
3432

3533
- name: Perform CodeQL Analysis
36-
uses: github/codeql-action/analyze@v2
34+
uses: github/codeql-action/analyze@v3
3735
with:
3836
category: "/language:${{ matrix.language }}"

.github/workflows/create-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
contents: write
3030
pull-requests: write
3131
runs-on: ubuntu-latest
32+
timeout-minutes: 25
3233
steps:
3334
- uses: actions/checkout@v4
3435
- name: Prepare the next main release

.github/workflows/e2e-test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ jobs:
131131
WEBHOOK_PASSWORD: 1234
132132
CI: TRUE
133133

134+
- name: Delete Webhook
135+
run: |
136+
echo "Running DeleteWebhook command after E2E tests for clean-up"
137+
docker exec -u www-data magento2-container php bin/magento adyen:management:delete-webhook
138+
134139
- name: Archive test result artifacts
135140
if: always()
136141
uses: actions/upload-artifact@v4

.github/workflows/graphql-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
php-version: ["8.2"]
1111
magento-version: ["2.4.6-p7"]
1212
runs-on: ubuntu-latest
13+
timeout-minutes: 25
1314
env:
1415
PHP_VERSION: ${{ matrix.php-version }}
1516
MAGENTO_VERSION: ${{ matrix.magento-version }}

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
if: (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) || (github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository) || (github.event_name == 'workflow_dispatch')
1111
environment: ${{ (github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository) && 'external' || 'internal' }}
1212
runs-on: ubuntu-latest
13-
13+
timeout-minutes: 25
1414
strategy:
1515
matrix:
1616
php-version: [8.2,8.3]
@@ -47,7 +47,7 @@ jobs:
4747

4848
- name: SonarCloud Scan
4949
if: ${{ env.SONAR_TOKEN }}
50-
uses: SonarSource/sonarcloud-github-action@master
50+
uses: SonarSource/sonarqube-scan-action@master
5151
env:
5252
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5353
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

.github/workflows/marketplace-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
marketplace-automation:
1010
runs-on: ubuntu-latest
11-
# environment: internal
11+
timeout-minutes: 25
1212

1313
steps:
1414
- name: Checkout repository

.github/workflows/mftf-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
- php-version: '8.3'
1717
magento-version: '2.4.7-p2'
1818
runs-on: ubuntu-latest
19+
timeout-minutes: 25
1920
env:
2021
PHP_VERSION: ${{ matrix.php-version }}
2122
MAGENTO_VERSION: ${{ matrix.magento-version }}

.github/workflows/restapi-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
php-version: [8.3]
1111
magento-version: [2.4.7-p2]
1212
runs-on: ubuntu-latest
13+
timeout-minutes: 25
1314
env:
1415
PHP_VERSION: ${{ matrix.php-version }}
1516
MAGENTO_VERSION: ${{ matrix.magento-version }}

0 commit comments

Comments
 (0)