Skip to content

ci: add workflow to run wp plugin checks #1

ci: add workflow to run wp plugin checks

ci: add workflow to run wp plugin checks #1

name: Plugin check
on:
push:
branches: [ stable', 'release/*' ]
pull_request:
branches: [ stable ]
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Package plugin
run: |
mkdir -p ./dist
rsync -rc --exclude-from=.distignore ./ ./dist/statify-blacklist --delete --delete-excluded
- name: Check WP plugin
uses: wordpress/plugin-check-action@v1
with:
build-dir: ./dist/statify-blacklist