Update files changed action (#19172)

This commit is contained in:
Joel Challis authored and GitHub committed 2022-11-28 20:04:04 +00:00
1 parent 4ae7525923
commit 393a37c012
2 files changed
+7 -10

No files matched your search

+3 -5
View File
@@ -27,16 +27,14 @@ jobs:
run: |
pip3 install -r requirements-dev.txt
- uses: trilom/[email protected]
- name: Get changed files
id: file_changes
with:
output: ' '
fileOutput: ' '
uses: tj-actions/changed-files@v34
- name: Run qmk formatters
shell: 'bash {0}'
run: |
cat ~/files_added.txt ~/files_modified.txt > ~/files_changed.txt
echo '${{ steps.file_changes.outputs.added_files}}' '${{ steps.file_changes.outputs.modified_files}}' > ~/files_changed.txt
qmk format-c --core-only $(< ~/files_changed.txt) || true
qmk format-python $(< ~/files_changed.txt) || true
qmk format-text $(< ~/files_changed.txt) || true