From 744419e5823ceff2749be4e533d31ae63f6cac72 Mon Sep 17 00:00:00 2001 From: berfinyuksel <99557970+berfinyuksel@users.noreply.github.com> Date: Fri, 27 Mar 2026 11:04:25 +0100 Subject: [PATCH] Update PHP-CS-Fixer workflow --- .github/workflows/php-style.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/php-style.yml b/.github/workflows/php-style.yml index bfd1b37..74c9a01 100644 --- a/.github/workflows/php-style.yml +++ b/.github/workflows/php-style.yml @@ -16,6 +16,6 @@ jobs: secrets: PHP_CS_FIXER_GITHUB_TOKEN: ${{ secrets.PHP_CS_FIXER_GITHUB_TOKEN }} with: - head_ref: ${{ github.event.pull_request.head.ref }} - repository: ${{ github.event.pull_request.head.repo.full_name }} + head_ref: ${{ github.head_ref || github.ref_name }} + repository: ${{ github.repository }} config_file: .php-cs-fixer.dist.php