From 08b896cfa31258563dffb0f68015ad18c52ea65a Mon Sep 17 00:00:00 2001 From: Tigrov Date: Sun, 14 Jun 2026 12:35:09 +0700 Subject: [PATCH] Fix rector-cs.yml --- .github/workflows/rector-cs.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rector-cs.yml b/.github/workflows/rector-cs.yml index 3982a9c75..f5b581b1a 100644 --- a/.github/workflows/rector-cs.yml +++ b/.github/workflows/rector-cs.yml @@ -1,7 +1,7 @@ name: Rector + PHP CS Fixer on: - pull_request_target: + pull_request: paths: - 'src/**' - 'tests/**' @@ -11,7 +11,7 @@ on: - '.php-cs-fixer.dist.php' permissions: - contents: read + contents: write concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -20,10 +20,7 @@ concurrency: jobs: rector: uses: yiisoft/actions/.github/workflows/rector-cs.yml@master - secrets: - token: ${{ secrets.YIISOFT_GITHUB_TOKEN }} with: - repository: ${{ github.event.pull_request.head.repo.full_name }} php: '8.1' required-packages: >- ['db']