From bd00ca7d9672a67d68e2f96300b5e99aba28857b Mon Sep 17 00:00:00 2001 From: berfinyuksel Date: Tue, 25 Nov 2025 02:06:03 +0100 Subject: [PATCH] Use reusable-php-cs-fixer@fix-failed-workflow --- .github/workflows/new-php-cs-fixer.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/new-php-cs-fixer.yaml b/.github/workflows/new-php-cs-fixer.yaml index ab14776..91256e7 100644 --- a/.github/workflows/new-php-cs-fixer.yaml +++ b/.github/workflows/new-php-cs-fixer.yaml @@ -1,11 +1,7 @@ name: "PHP-CS-Fixer" on: - pull_request: - branches: - - "[0-9]+.[0-9]+" - - "[0-9]+.x" - - "feature-*" + workflow_dispatch: push: branches: - "[0-9]+.[0-9]+" @@ -17,10 +13,11 @@ permissions: contents: write jobs: - php-cs-fixer: - uses: pimcore/workflows-collection-public/.github/workflows/reusable-php-cs-fixer.yaml@main + php-style: + uses: pimcore/workflows-collection-public/.github/workflows/reusable-php-cs-fixer.yaml@fix-failed-workflow with: head_ref: ${{ github.head_ref || github.ref_name }} repository: ${{ github.repository }} + config_file: ".php-cs-fixer.dist.php" secrets: PHP_CS_FIXER_GITHUB_TOKEN: ${{ secrets.PHP_CS_FIXER_GITHUB_TOKEN }}