Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/dispatch_build_scoped_rector.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# github action that rebuilds https://github.com/rectorphp/rector
# with the freshly merged rector-phpunit main
name: Dispatch Build Scoped Rector

on:
pull_request:
types:
- closed

jobs:
dispatch_build_scoped_rector:
# only for merged pull requests in this repository, not forks
if: github.event.pull_request.merged == true && github.repository == 'rectorphp/rector-phpunit'

runs-on: ubuntu-latest

steps:
-
name: "Trigger build_scoped_rector.yaml in rectorphp/rector-src"
env:
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
run: gh workflow run build_scoped_rector.yaml --repo rectorphp/rector-src --ref main
Loading