From 839f926f698d6d43f274ca15f0b881f8c7752e19 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Tue, 24 Oct 2023 16:28:32 -0700 Subject: [PATCH] Looks like we were using the changed-files action incorrectly. Hopefully this fixes it? --- .github/workflows/javascript-format-build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/javascript-format-build.yml b/.github/workflows/javascript-format-build.yml index 2fb03d73b..6ab89a601 100644 --- a/.github/workflows/javascript-format-build.yml +++ b/.github/workflows/javascript-format-build.yml @@ -64,21 +64,21 @@ jobs: run: npm install - name: Lint - if: steps.changed-files.outputs.src_any_changed == 'true' - run: npx eslint --fix ${{ steps.changed-files.outputs.src_all_changed_files }} + if: steps.changed-files-yaml.outputs.src_any_changed == 'true' + run: npx eslint --fix ${{ steps.changed-files-yaml.outputs.src_all_changed_files }} - name: Prettier - if: steps.changed-files.outputs.src_any_changed == 'true' - run: npx prettier --write ${{ steps.changed-files.outputs.src_all_changed_files }} + if: steps.changed-files-yaml.outputs.src_any_changed == 'true' + run: npx prettier --write ${{ steps.changed-files-yaml.outputs.src_all_changed_files }} - name: Commit changes - if: steps.changed-files.outputs.src_any_changed == 'true' + if: steps.changed-files-yaml.outputs.src_any_changed == 'true' uses: EndBug/add-and-commit@v9 with: author_name: Owncast author_email: owncast@owncast.online message: 'Javascript formatting autofixes' - add: ${{ steps.changed-files.outputs.src_all_changed_files }} + add: ${{ steps.changed-files-yaml.outputs.src_all_changed_files }} pull: '--rebase --autostash' unused-code: