Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions .github/workflows/dependency-review.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/no-response.yml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/php-compatibility.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/phpcs.yml

This file was deleted.

58 changes: 0 additions & 58 deletions .github/workflows/phpunit.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/push-asset-readme-update.yml

This file was deleted.

36 changes: 0 additions & 36 deletions .github/workflows/push-deploy.yml

This file was deleted.

59 changes: 0 additions & 59 deletions .github/workflows/test-e2e.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/wpcs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Linting

on:
push:
branches:
- develop
- trunk
pull_request:
branches:
- develop

jobs:
phpcs:
name: WPCS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: WPCS check
uses: 10up/wpcs-action@fix/24-add-vipcs-to-10up-default
with:
use_local_config: true
standard: '10up-Default'
extra_args: '--report-json=./phpcs-report.json'
- name: Update summary
run: |
npx github:10up/phpcs-json-to-md --path ./phpcs-report.json --output ./phpcs-report.md
cat phpcs-report.md >> $GITHUB_STEP_SUMMARY
if: ${{ failure() }}
2 changes: 2 additions & 0 deletions simple-podcasting.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,5 @@ function setup_edit_screen() {
}
}
add_action( 'admin_init', __NAMESPACE__ . '\setup_edit_screen' );

in_array( $a, array() );