mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
feat: make phpcs severity level configurable (#130)
Add inputs to allow configuring error and warning severity levels. This allows suppressing messages in the Mage-OS repository that are ignored in upstream Magento Open Source CI, too.
This commit is contained in:
@@ -27,4 +27,7 @@ jobs:
|
||||
with:
|
||||
version: 25 # Optional, will use the latest if omitted.
|
||||
path: app/code # Optional, will be used when event is not a pull request.
|
||||
severity: 8 # Optional, will use phpcs default of 5 if not specified.
|
||||
warning_severity: 4 # Optional, will use severity value if not specified.
|
||||
error_severity: 7 # Optional, will use severity value if not specified.
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user