0

fix: update use of changed files to specify proper key

This commit is contained in:
Gabe Kangas 2023-07-31 12:01:31 -07:00
parent 8341328df0
commit 460f47d9b7
No known key found for this signature in database
GPG Key ID: 4345B2060657F330

View File

@ -60,15 +60,15 @@ jobs:
run: npm install
- name: Lint
if: steps.changed-files.outputs.any_changed == 'true'
if: steps.changed-files.outputs.src_any_changed == 'true'
run: npx eslint --fix ${{ steps.changed-files.outputs.all_changed_files }}
- name: Prettier
if: steps.changed-files.outputs.any_changed == 'true'
if: steps.changed-files.outputs.src_any_changed == 'true'
run: npx prettier --write ${{ steps.changed-files.outputs.all_changed_files }}
- name: Commit changes
if: steps.changed-files.outputs.any_changed == 'true'
if: steps.changed-files.outputs.src_any_changed == 'true'
uses: EndBug/add-and-commit@v9
with:
author_name: Owncast