Skip to content

Commit

Permalink
Fixing GH env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dpanta94 committed Jun 17, 2024
1 parent 1489c45 commit e3d8340
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 e3d8340

Please sign in to comment.