Skip to content

Add the WordPress Plugin Check Action #27

Add the WordPress Plugin Check Action

Add the WordPress Plugin Check Action #27

Workflow file for this run

name: 'WordPress Plugin Checks'
on: # rebuild any PRs and main branch changes
push:
branches:
- trunk
- develop
pull_request:
branches:
- trunk
- develop
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run plugin check
uses: wordpress/plugin-check-action@v1
with:
exclude-checks: |
plugin_readme
plugin_updater
file_type
trademarks
direct_db_queries
performant_wp_query_params
enqueued_scripts_in_footer
plugin_header_text_domain
exclude-directories: |
.github
node_modules
vendor
tests
bin
build
build
assets
exclude-files: |
.eslintignore
.eslintrc.js
.gitignore
.nvmrc
.gitattributes
.phpcs.xml.dist
.wp-env.json
.prettierrc.js
.stylelintrc.json