ci: fix branches in plugin check workflow

This commit is contained in:
Stefan Kalscheuer 2024-11-12 16:16:02 +01:00
parent 00aa79cb1e
commit b34a79068c
Signed by: stefan
GPG Key ID: 3887EC2A53B55430

@ -1,9 +1,9 @@
name: Plugin check name: Plugin check
on: on:
push: push:
branches: [ stable', 'release/*' ] branches: [ 'stable', 'release/*' ]
pull_request: pull_request:
branches: [ stable ] branches: [ 'stable' ]
jobs: jobs:
check: check:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -16,6 +16,7 @@ jobs:
mkdir -p ./dist mkdir -p ./dist
tail -n +6 README.md > README.md.tmp && mv README.md.tmp README.md tail -n +6 README.md > README.md.tmp && mv README.md.tmp README.md
rsync -rc --exclude-from=.distignore ./ ./dist/statify-blacklist --delete --delete-excluded rsync -rc --exclude-from=.distignore ./ ./dist/statify-blacklist --delete --delete-excluded
- name: Check WP plugin - name: Check WP plugin
uses: wordpress/plugin-check-action@v1 uses: wordpress/plugin-check-action@v1
with: with: