Browse Source

fix: update use of changed files to specify proper key

pull/3228/head
Gabe Kangas 2 years ago
parent
commit
460f47d9b7
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 6
      .github/workflows/javascript-format-build.yml

6
.github/workflows/javascript-format-build.yml

@ -60,15 +60,15 @@ jobs: @@ -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

Loading…
Cancel
Save