fix: update use of changed files to specify proper key
This commit is contained in:
@@ -60,15 +60,15 @@ jobs:
|
|||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Lint
|
- 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 }}
|
run: npx eslint --fix ${{ steps.changed-files.outputs.all_changed_files }}
|
||||||
|
|
||||||
- name: Prettier
|
- 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 }}
|
run: npx prettier --write ${{ steps.changed-files.outputs.all_changed_files }}
|
||||||
|
|
||||||
- name: Commit changes
|
- 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
|
uses: EndBug/add-and-commit@v9
|
||||||
with:
|
with:
|
||||||
author_name: Owncast
|
author_name: Owncast
|
||||||
|
|||||||
Reference in New Issue
Block a user