Skip to content

Commit

Permalink
ci: add Github Actions workflow for plugin check
Browse files Browse the repository at this point in the history
  • Loading branch information
sectsect committed Nov 30, 2024
1 parent cbceafd commit a5921c4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/plugin-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Plugin Check'

on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- master
- 'releases/*'

jobs:
check:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run plugin check
uses: wordpress/plugin-check-action@v1
with:
exclude-checks: 'trademarks,file_type,plugin_readme'
exclude-directories: '.github,bin,vendor'

0 comments on commit a5921c4

Please sign in to comment.