Skip to content

Commit 59471fa

Browse files
authored
Improve Rector CI (#131)
1 parent 269416f commit 59471fa

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/rector.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
on:
2-
pull_request:
2+
pull_request_target:
33
paths-ignore:
44
- 'docs/**'
55
- 'README.md'
@@ -17,6 +17,7 @@ jobs:
1717
secrets:
1818
token: ${{ secrets.YIISOFT_GITHUB_TOKEN }}
1919
with:
20+
repository: ${{ github.event.pull_request.head.repo.full_name }}
2021
os: >-
2122
['ubuntu-latest']
2223
php: >-

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"httpsoft/http-message": "^1.0.9",
5252
"maglnet/composer-require-checker": "^4.4",
5353
"phpunit/phpunit": "^9.5",
54-
"rector/rector": "^1.0",
54+
"rector/rector": "^1.2",
5555
"roave/infection-static-analysis-plugin": "^1.16",
5656
"spatie/phpunit-watcher": "^1.23",
5757
"vimeo/psalm": "^4.30|^5.25",

0 commit comments

Comments
 (0)