-
Notifications
You must be signed in to change notification settings - Fork 10
53 lines (48 loc) · 1.05 KB
/
plugin-check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: 'WordPress Plugin Checks'
on: # rebuild any PRs and main branch changes
push:
branches:
- trunk
- develop
pull_request:
branches:
- trunk
- develop
- add/plugin-check
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