diff options
author | Andreas Gohr <andi@splitbrain.org> | 2023-08-30 14:59:56 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2023-08-30 14:59:56 +0200 |
commit | bf7ba4d5b4ef44432fb41a6f3461934f51fa5ed3 (patch) | |
tree | b636eddd6771e5114802cdbb4db875c76fabeb44 /.github | |
parent | 0f2c316ab3ecf61ef3ca6fcdcdcc9cf58a71c1a3 (diff) | |
download | dokuwiki-bf7ba4d5b4ef44432fb41a6f3461934f51fa5ed3.tar.gz dokuwiki-bf7ba4d5b4ef44432fb41a6f3461934f51fa5ed3.zip |
workflow improvements
* make bot PRs more easy to spot
* better PR message for autofix
* no more checkstyle to annotation
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/autoFix.yml | 17 | ||||
-rw-r--r-- | .github/workflows/deletedFiles.yml | 4 | ||||
-rw-r--r-- | .github/workflows/phpCS.yml | 2 |
3 files changed, 17 insertions, 6 deletions
diff --git a/.github/workflows/autoFix.yml b/.github/workflows/autoFix.yml index 40a6eca1b..24d7b444b 100644 --- a/.github/workflows/autoFix.yml +++ b/.github/workflows/autoFix.yml @@ -34,8 +34,19 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v4 with: - commit-message: "Rector and PHPCS fixes" - title: "Rector and PHPCS fixes" - body: "These changes were made automatically by running rector and phpcbf. Note this is currently WIP and should not be merged!" + commit-message: "🤖 Rector and PHPCS fixes" + title: "🤖 Automatic code style fixes" + body: | + Currently work in progress, do not merge! + + 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. + + 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" diff --git a/.github/workflows/deletedFiles.yml b/.github/workflows/deletedFiles.yml index 618260015..d26fa0f7c 100644 --- a/.github/workflows/deletedFiles.yml +++ b/.github/workflows/deletedFiles.yml @@ -33,8 +33,8 @@ jobs: - name: Create Pull Request uses: peter-evans/create-pull-request@v4 with: - commit-message: "Update deleted files" - title: "Update deleted files" + commit-message: "🤖 Update deleted files" + title: "🤖 Update deleted files" body: "This updates the list of deleted files based on the recent changes." delete-branch: true branch: "bot/deletedFiles" diff --git a/.github/workflows/phpCS.yml b/.github/workflows/phpCS.yml index 7a7cb0df3..5dad99ef8 100644 --- a/.github/workflows/phpCS.yml +++ b/.github/workflows/phpCS.yml @@ -27,4 +27,4 @@ jobs: tools: cs2pr, phpcs - name: run PHP codesniffer - run: phpcs -q --standard=_test/phpcs_MigrationAdjustments.xml --report=checkstyle | cs2pr + run: phpcs -q --standard=_test/phpcs_MigrationAdjustments.xml |