Browse Source

Merge pull request #1635 from RooVetGit/contributors_prettier

Run prettier before checking for contributor changes
Matt Rubens 9 months ago
parent
commit
b893eea252
1 changed files with 2 additions and 1 deletions
  1. 2 1
      .github/workflows/update-contributors.yml

+ 2 - 1
.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: