Skip to content

Commit

Permalink
Fixing GH env variable (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpanta94 authored Jun 17, 2024
2 parents 83df25a + e3d8340 commit 134a069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.access-token }}
run: |
JSON_REPORT=$(vendor/bin/phpcs --report=json $CHANGED_FILES)
JSON_REPORT=$(vendor/bin/phpcs --report=json ${{ env.CHANGED_FILES }} )
echo $JSON_REPORT | jq empty
if [ $? -ne 0 ]; then
echo "Invalid JSON"
Expand Down

0 comments on commit 134a069

Please sign in to comment.