Skip to content

Commit

Permalink
Skip vendor folder in GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
NikhilJoshua committed Sep 4, 2023
1 parent 9cbe372 commit d2c4a16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/phpcs_on_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
- name: Run PHPCS inspection with PHP 8.1
uses: rtCamp/action-phpcs-code-review@master
env:
SKIP_FOLDERS: "tests,.github"
SKIP_FOLDERS: "tests,.github,vendor"
GH_BOT_TOKEN: ${{ secrets.RTBOT_TOKEN }}

# Remove this step once WordPress Coding Standards supports PHP 8.0+.
- name: Run PHPCS inspection with PHP 7.4
uses: rtCamp/action-phpcs-code-review@master
env:
SKIP_FOLDERS: "tests,.github"
SKIP_FOLDERS: "tests,.github,vendor"
PHPCS_PHP_VERSION: "7.4"
PHPCS_STANDARD_FILE_NAME: "phpcs.wpcs.xml"
GH_BOT_TOKEN: ${{ secrets.RTBOT_TOKEN }}

0 comments on commit d2c4a16

Please sign in to comment.