Skip to content

Update deploy_on_push.yml #11

Update deploy_on_push.yml

Update deploy_on_push.yml #11

on: pull_request
name: Inspections
jobs:
runPHPCSInspection:
name: Run PHPCS inspection
# Change below line to: `runs-on: ubuntu-latest` if not using self-hosted runners or if it is a public repo.
runs-on: high-performance
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Run PHPCS inspection
uses: rtCamp/action-phpcs-code-review@master
env:
SKIP_FOLDERS: "tests,.github"
GH_BOT_TOKEN: ${{ secrets.RTBOT_TOKEN }}
with:
args: WordPress,WordPress-Core,WordPress-Docs
- name: Cleanup
if: ${{ always() }}
uses: rtCamp/action-cleanup@master