add .gitignore #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: WPCS check | |
on: [push] | |
jobs: | |
phpcs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: WPCS check | |
uses: 10up/wpcs-action@stable | |
with: | |
enable_warnings: false # Enable checking for warnings (-w) | |
paths: './wp-content' # Paths to check, space separated | |
# excludes: '' # Paths to excludes, space separated | |
standard: 'WordPress' # Standard to use. Accepts WordPress|WordPress-Core|WordPress-Docs|WordPress-Extra|WordPress-VIP-Go|WordPressVIPMinimum|10up-Default. | |
# standard_repo: '' # Public (git) repository URL of the coding standard | |
# repo_branch: 'master' # Branch of Standard repository | |
# phpcs_bin_path: 'phpcs' # Custom PHPCS bin path | |
# use_local_config: 'false' # Use local config if available | |
# extra_args: '' # Extra arguments passing to the command |