diff --git a/.github/workflows/rector.yml b/.github/workflows/rector.yml index 3013bfdd3..96f061fac 100644 --- a/.github/workflows/rector.yml +++ b/.github/workflows/rector.yml @@ -1,5 +1,5 @@ on: - pull_request: + pull_request_target: paths: - 'src/**' - 'config/**' @@ -15,6 +15,7 @@ jobs: secrets: token: ${{ secrets.YIISOFT_GITHUB_TOKEN }} with: + repository: ${{ github.event.pull_request.head.repo.full_name }} os: >- ['ubuntu-latest'] php: >-