Skip to content

Commit

Permalink
Merge pull request #199 from rtCamp/update/phpcs-action
Browse files Browse the repository at this point in the history
Update phpcs action
  • Loading branch information
SID177 authored Aug 14, 2020
2 parents e064adb + 8537e88 commit 0a63aa8
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/phpcs_on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ jobs:
name: Run PHPCS inspection
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Run PHPCS inspection
uses: docker://rtcamp/action-phpcs-code-review:v2.0.0
env:
VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
VAULT_TOKEN: ${{ secrets.VAULT_TOKEN }}
with:
args: WordPress,WordPress-Core,WordPress-Docs
- 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"
VAULT_ADDR: ${{ secrets.VAULT_ADDR }}
VAULT_TOKEN: ${{ secrets.VAULT_TOKEN }}
with:
args: WordPress,WordPress-Core,WordPress-Docs

0 comments on commit 0a63aa8

Please sign in to comment.