File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ A GitHub action that runs a phpcs and reports the result to reviewdog
44# Prerequisites
55* Composer install has been executed
66* Phpcs is install by composer and available in the composer config bin-dir
7- * The code styles used by phpcs are installed and confgured in phpcs.xml
7+ * The code styles used by phpcs are installed and confgured in the . phpcs.xml
88
99# Usage
1010Add a workflow step with the action:
1111
1212``` yaml
1313steps :
1414 - name : Run phpcs
15- uses : reload/poc -phpcs-reviewdog-action @<VERSION>
15+ uses : reload/action -phpcs@<VERSION>
1616 with :
1717 reviewdog_token : ${{ secrets.GITHUB_TOKEN }}`
1818` ` `
@@ -24,7 +24,7 @@ Example:
2424` ` ` yaml
2525steps :
2626 - name : Run phpcs
27- uses : reload/poc -phpcs-reviewdog-action @<VERSION>
27+ uses : reload/action -phpcs@<VERSION>
2828 with :
2929 path : drupal
3030 reviewdog_token : ${{ secrets.GITHUB_TOKEN }}`
Original file line number Diff line number Diff line change 2121 run : |
2222 set +o pipefail
2323
24- # Change directory to where phpcs should do its thing.
2524 cd ${{ inputs.path }}
2625
27- # No warnings errors/warnings on exit from phpcs please .
26+ # No warnings errors/warnings since it breaks the connection to reviewdog .
2827 $(composer config bin-dir)/phpcs --config-set ignore_errors_on_exit 1
2928 $(composer config bin-dir)/phpcs --config-set ignore_warnings_on_exit 1
3029
You can’t perform that action at this time.
0 commit comments