From 68cbce8017ca8ff0f55dbd0a2a3baf4b4aacc4ec Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Fri, 14 Mar 2025 00:09:57 -0400 Subject: [PATCH] Run prettier before checking for contributor changes --- .github/workflows/update-contributors.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-contributors.yml b/.github/workflows/update-contributors.yml index dd7c8b507d..eb6479a751 100644 --- a/.github/workflows/update-contributors.yml +++ b/.github/workflows/update-contributors.yml @@ -24,9 +24,10 @@ jobs: - name: Install dependencies run: npm ci - - name: Update contributors and check for changes + - name: Update contributors and format run: | npm run update-contributors + npx prettier --write README.md if git diff --quiet README.md; then echo "changes=false" >> $GITHUB_OUTPUT; else echo "changes=true" >> $GITHUB_OUTPUT; fi id: check-changes env: