From f89b85e310bbe833357747dde5b626147616682f Mon Sep 17 00:00:00 2001 From: David Shanske Date: Sun, 6 Oct 2024 01:25:28 +0000 Subject: [PATCH] Add Plugin Check --- .github/workflows/plugincheck.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/plugincheck.yml diff --git a/.github/workflows/plugincheck.yml b/.github/workflows/plugincheck.yml new file mode 100644 index 0000000..fd6da10 --- /dev/null +++ b/.github/workflows/plugincheck.yml @@ -0,0 +1,21 @@ +name: 'WordPress Plugin Check' +on: # rebuild any PRs and trunk branch changes + pull_request: + push: + branches: + - trunk + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Run plugin check + uses: wordpress/plugin-check-action@v1 + with: + exclude-directories: | + './bin' + './.github' + exclude-checks: 'file_type'