Skip to content

Commit

Permalink
ci: add workflow to run wp plugin checks
Browse files Browse the repository at this point in the history
  • Loading branch information
stklcode committed Oct 4, 2024
1 parent 927b14d commit 775d6cc
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/wordpress-plugin-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Plugin check
on:
push:
branches: [ 'master', 'release/*' ]
pull_request:
branches: [ 'master' ]
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Check WP plugin
uses: wordpress/plugin-check-action@v1
with:
build-dir: ./dist/statify-blacklist
exclude-directories: |
.github
.wordpress-org
exclude-files: |
.gitattributes
.gitignore
composer.json
composer.lock
phpcs.xml

0 comments on commit 775d6cc

Please sign in to comment.