From aae5a43ebcf327290521ec38998102147765ce6a Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 2 Sep 2023 19:11:11 +0200 Subject: [PATCH] autofix: create PR even if phpcbf can't fix everything --- .github/workflows/autoFix.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/autoFix.yml b/.github/workflows/autoFix.yml index a16ee8a98..010cb2c0a 100644 --- a/.github/workflows/autoFix.yml +++ b/.github/workflows/autoFix.yml @@ -29,6 +29,7 @@ jobs: run: rector process --config _test/rector.php --no-diffs - name: Run PHP CodeSniffer autofixing + continue-on-error: true # even if not all errors are fixed, we want to create a PR run: phpcbf --standard=_test/phpcs_MigrationAdjustments.xml - name: Create Pull Request @@ -39,12 +40,8 @@ jobs: body: | These changes were made automatically by running rector and phpcbf. - Please carefully check the changes before merging. Please note that - unit tests are not run for automated pull requests - so if in doubt, - manually test the branch before merging. + Please carefully check the changes before merging. Please note that unit tests are not run for automated pull requests - so if in doubt, manually test the branch before merging. - If you disagree with the changes, simply clean the code yourself and - create a new pull request. This PR automatically closes when no more - changes are suggested by rector and phpcbf. + If you disagree with the changes, simply clean the code yourself and create a new pull request. This PR automatically closes when no more changes are suggested by rector and phpcbf. delete-branch: true branch: "bot/autofix" -- 2.11.4.GIT