Skip to content

[ECP-9547] Adding BrandCodeDataAssigner to the other Klarna PM variants #54

[ECP-9547] Adding BrandCodeDataAssigner to the other Klarna PM variants

[ECP-9547] Adding BrandCodeDataAssigner to the other Klarna PM variants #54

Workflow file for this run

name: Main CI workflow
on:
pull_request:
workflow_dispatch:
jobs:
build:
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')
environment: ${{ (github.event_name == 'pull_request_target' && github.event.pull_request.head.repo.full_name != github.repository) && 'external' || 'internal' }}
runs-on: ubuntu-latest
strategy:
matrix:
php-version: [8.2,8.3]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Use PHP ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: composer:v1
- name: SonarCloud Scan
if: ${{ env.SONAR_TOKEN }}
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}