From db9af0b4f895efc0cd53028a01a578e886f4a803 Mon Sep 17 00:00:00 2001 From: Carlos Granados Date: Wed, 18 Sep 2024 23:11:49 +0200 Subject: [PATCH] Test batch commits --- .github/workflows/batch_rector.yaml | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/.github/workflows/batch_rector.yaml b/.github/workflows/batch_rector.yaml index a48f54543ec..4fc0e9b8286 100644 --- a/.github/workflows/batch_rector.yaml +++ b/.github/workflows/batch_rector.yaml @@ -2,26 +2,9 @@ name: Rector on: - pull_request: null + push: jobs: - no_batch_rector: - - runs-on: ubuntu-latest - - steps: - - - uses: actions/checkout@v4 - - - - uses: shivammathur/setup-php@v2 - with: - php-version: 8.2 - coverage: none - - - run: composer install --no-progress --ansi - - - run: bin/rector process --ansi batch_rector: strategy: matrix: @@ -42,3 +25,11 @@ jobs: - run: composer install --no-progress --ansi - run: bin/rector process --batch-index=${{ strategy.job-index }} --batch-total=${{ strategy.job-total }} --ansi + + - + uses: EndBug/add-and-commit@v9 + with: + message: 'Rector Batch ${{ strategy.job-index }}' + author_name: 'GitHub Action ' + author_email: 'action@github.com' + pull: '--autostash'