diff --git a/.github/workflows/rector.yml b/.github/workflows/rector.yml index 411db3f..457772a 100644 --- a/.github/workflows/rector.yml +++ b/.github/workflows/rector.yml @@ -1,5 +1,5 @@ on: - pull_request: + pull_request_target: paths-ignore: - 'docs/**' - 'README.md' @@ -14,8 +14,11 @@ name: rector jobs: rector: uses: yiisoft/actions/.github/workflows/rector.yml@master + secrets: + token: ${{ secrets.YIISOFT_GITHUB_TOKEN }} with: + repository: ${{ github.event.pull_request.head.repo.full_name }} os: >- ['ubuntu-latest'] php: >- - ['7.4'] + ['8.3'] diff --git a/composer.json b/composer.json index 8c179c8..237a29b 100644 --- a/composer.json +++ b/composer.json @@ -42,7 +42,7 @@ "httpsoft/http-message": "^1.0", "maglnet/composer-require-checker": "^3.8|^4.2", "phpunit/phpunit": "^9.5", - "rector/rector": "^1.0.0", + "rector/rector": "^1.2", "roave/infection-static-analysis-plugin": "^1.16", "spatie/phpunit-watcher": "^1.23", "vimeo/psalm": "^4.30|^5.21",