From c351e2cb167c7d9e9d5a75df6c15df213649345a Mon Sep 17 00:00:00 2001 From: berfinyuksel <99557970+berfinyuksel@users.noreply.github.com> Date: Fri, 14 Aug 2026 15:11:29 +0200 Subject: [PATCH] Sync non-matrix workflows on 3.6 with 2026.x (product-management#1305) Adopted files are byte-identical to this repo's 2026.x versions. Codeception and static-analysis workflows are deliberately untouched. Changes: adopt:cla.yml adopt:php-cs-fixer.yaml Co-Authored-By: Claude Opus 5 --- .github/workflows/cla.yml | 18 +++++++++--------- .github/workflows/php-cs-fixer.yaml | 9 +++------ 2 files changed, 12 insertions(+), 15 deletions(-) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 42a997f..ec376e9 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -1,14 +1,14 @@ name: CLA check on: - issue_comment: - types: [created] - pull_request_target: - types: [opened, closed, synchronize] + issue_comment: + types: [created] + pull_request_target: + types: [opened, closed, synchronize] jobs: - cla-workflow: - uses: pimcore/workflows-collection-public/.github/workflows/reusable-cla-check.yaml@v1.3.0 - if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' - secrets: - CLA_ACTION_ACCESS_TOKEN: ${{ secrets.CLA_ACTION_ACCESS_TOKEN }} \ No newline at end of file + cla-workflow: + uses: pimcore/workflows-collection-public/.github/workflows/reusable-cla-check.yaml@main + if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target' + secrets: + CLA_ACTION_ACCESS_TOKEN: ${{ secrets.CLA_ACTION_ACCESS_TOKEN }} diff --git a/.github/workflows/php-cs-fixer.yaml b/.github/workflows/php-cs-fixer.yaml index dc1a744..f2d696e 100644 --- a/.github/workflows/php-cs-fixer.yaml +++ b/.github/workflows/php-cs-fixer.yaml @@ -1,23 +1,20 @@ name: "PHP-CS-Fixer" on: - pull_request_target: - types: [ opened,closed,synchronize ] push: branches: - "[0-9]+.[0-9]+" - "[0-9]+.x" - - "*_actions" - - "feature-*" permissions: contents: write jobs: php-style: uses: pimcore/workflows-collection-public/.github/workflows/reusable-php-cs-fixer.yaml@main + if: github.repository_owner == 'pimcore' secrets: PHP_CS_FIXER_GITHUB_TOKEN: ${{ secrets.PHP_CS_FIXER_GITHUB_TOKEN }} with: head_ref: ${{ github.head_ref || github.ref_name }} - repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} - config_file: .php-cs-fixer.dist.php \ No newline at end of file + repository: ${{ github.repository }} + config_file: .php-cs-fixer.dist.php