ソースを参照

Run prettier before checking for contributor changes

Matt Rubens 9 ヶ月 前
コミット
68cbce8017
1 ファイル変更2 行追加1 行削除
  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: