forked from chekalsky/phpcs-action
-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
type:questionFurther information is requested.Further information is requested.
Description
Describe your question
I am using the below code for adding linting checks using github actions, but getting ENOENT error on action summary
name: WordPress Coding Standard Check
on: pull_request
jobs:
phpcs:
name: VIPCS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: VIPCS check
uses: 10up/wpcs-action@stable
with:
standard: 'WordPress-VIP-Go'
use_local_config: true
extra_args: '--report-json=./phpcs.json'
paths: ${{ github.event.pull_request.changed_files }}
- name: Update summary
run: |
npm i -g github:10up/phpcs-json-to-md
phpcs-json-to-md --path ./phpcs.json --output ./phpcs.md
cat phpcs.md >> $GITHUB_STEP_SUMMARY
if: always()
Is there something wrong in the implementation? Also, is there a way I can only check the files that are in the PR instead of whole code?
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type:questionFurther information is requested.Further information is requested.
Type
Projects
Status
Incoming