From 4facd65cbd7b499971a65c4933158c0a81c1798b Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Thu, 30 Oct 2025 14:25:07 +1100 Subject: [PATCH] Add WordPress.org plugin check. --- .github/workflows/plugin-check.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/plugin-check.yaml diff --git a/.github/workflows/plugin-check.yaml b/.github/workflows/plugin-check.yaml new file mode 100644 index 0000000..50c5466 --- /dev/null +++ b/.github/workflows/plugin-check.yaml @@ -0,0 +1,21 @@ +name: 'WordPress Plugin Check' +on: # rebuild any PRs and main branch changes + pull_request: + push: + branches: + - main + - 'releases/*' + +jobs: + test: + name: 'Run WordPress Plugin Check' + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Run plugin check + uses: wordpress/plugin-check-action@v1 + with: + exclude-directories: ".github,bin,tests" + exclude-files: ".editorconfig,.gitattributes,.gitignore,.wordpress-version-checker.json,phpcs.xml.dist,phpunit.xml.dist,readme.md"