aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2023-09-02 19:11:11 +0200
committerAndreas Gohr <andi@splitbrain.org>2023-09-02 19:11:41 +0200
commitaae5a43ebcf327290521ec38998102147765ce6a (patch)
tree29a3f236c450b2d524aa18d0e5ea685e38cbc781 /.github
parentcba3f22d2894b1c663a0c892d535491278a216ea (diff)
downloaddokuwiki-aae5a43ebcf327290521ec38998102147765ce6a.tar.gz
dokuwiki-aae5a43ebcf327290521ec38998102147765ce6a.zip
autofix: create PR even if phpcbf can't fix everything
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/autoFix.yml9
1 files 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"