From 460f47d9b7da527e43612cb529320dc03b8f54b7 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 31 Jul 2023 12:01:31 -0700 Subject: [PATCH] fix: update use of changed files to specify proper key --- .github/workflows/javascript-format-build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/javascript-format-build.yml b/.github/workflows/javascript-format-build.yml index 17983b1c0..4991d9466 100644 --- a/.github/workflows/javascript-format-build.yml +++ b/.github/workflows/javascript-format-build.yml @@ -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