Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Github checks only changed files #1500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Prev Previous commit
Next Next commit
maybe
  • Loading branch information
JulienPalard committed Dec 11, 2020
commit ff76de7f01fe0034670faa81e09795502e3a1df6
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
sudo python3 -m pip install pospell
- name: Run pospell
with:
ADDED_FILES: ${{ join(fromJSON(steps.changed_files.outputs.added), ' ') }}
MODIFIED_FILES: ${{ join(fromJSON(steps.changed_files.outputs.modified), ' ') }}
ADDED_FILES: '${{ join(fromJSON(steps.changed_files.outputs.added), '' '') }}'
MODIFIED_FILES: '${{ join(fromJSON(steps.changed_files.outputs.modified), '' '') }}'
run: |
CHANGED_PO_FILES=$(printf "%s %s\n" "$ADDED_FILES" "$MODIFIED_FILES" | tr ' ' '\n' | grep '.po$')
[ -n "$CHANGED_PO_FILES" ] && pospell -p dict -l fr_FR $CHANGED_PO_FILES
Expand Down