Skip to content

Commit

Permalink
restore var for changed files
Browse files Browse the repository at this point in the history
  • Loading branch information
dpanta94 committed Jun 18, 2024
1 parent 5f3392d commit 804815e
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 @@ -67,7 +67,7 @@ jobs:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.access-token }}
run: |
# Run phpcs and capture both the output and the exit code
JSON_REPORT=$(vendor/bin/phpcs --report=json src/Tribe/Main.php || echo "")
JSON_REPORT=$(vendor/bin/phpcs --report=json ${{ env.CHANGED_FILES }} || echo "")
PHPCS_EXIT_CODE=$?
# Check if phpcs produced a JSON report
Expand Down

0 comments on commit 804815e

Please sign in to comment.