Skip to content

Commit 5a220ba

Browse files
Merge pull request #19 from peterwilsoncc/do/add-plugin-check
Add WordPress.org plugin check.
2 parents 5b580ca + 4facd65 commit 5a220ba

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: 'WordPress Plugin Check'
2+
on: # rebuild any PRs and main branch changes
3+
pull_request:
4+
push:
5+
branches:
6+
- main
7+
- 'releases/*'
8+
9+
jobs:
10+
test:
11+
name: 'Run WordPress Plugin Check'
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v3
16+
17+
- name: Run plugin check
18+
uses: wordpress/plugin-check-action@v1
19+
with:
20+
exclude-directories: ".github,bin,tests"
21+
exclude-files: ".editorconfig,.gitattributes,.gitignore,.wordpress-version-checker.json,phpcs.xml.dist,phpunit.xml.dist,readme.md"

0 commit comments

Comments
 (0)