diff options
author | Joel Challis <git@zvecr.com> | 2022-11-28 20:04:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-28 20:04:04 +0000 |
commit | 393a37c01294584df31c6c4b538d02b60d9c51bf (patch) | |
tree | 5ef0c97f103ec1bc85f98cf79c0024e7ec70636a /.github/workflows/lint.yml | |
parent | 4ae75259233a45583b6a0d73f1f7224cb50e0398 (diff) |
Update files changed action (#19172)
Diffstat (limited to '.github/workflows/lint.yml')
-rw-r--r-- | .github/workflows/lint.yml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5b8a45f26b..af656cf80f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,21 +19,20 @@ jobs: - name: Install dependencies run: pip3 install -r requirements-dev.txt - - uses: trilom/file-changes-action@v1.2.4 + - name: Get changed files id: file_changes - with: - output: '\n' + uses: tj-actions/changed-files@v34 - name: Print info run: | git rev-parse --short HEAD echo ${{ github.event.pull_request.base.sha }} - echo '${{ steps.file_changes.outputs.files}}' + echo '${{ steps.file_changes.outputs.all_changed_files}}' - name: Run qmk lint shell: 'bash {0}' run: | - QMK_CHANGES=$(echo -e '${{ steps.file_changes.outputs.files}}') + QMK_CHANGES=$(echo -e '${{ steps.file_changes.outputs.all_changed_files}}' | sed 's/ /\n/g') QMK_KEYBOARDS=$(qmk list-keyboards) exit_code=0 |