diff --git a/.github/workflows/eslint.yaml b/.github/workflows/eslint.yaml index e0952d2..38959c9 100644 --- a/.github/workflows/eslint.yaml +++ b/.github/workflows/eslint.yaml @@ -19,7 +19,7 @@ jobs: run: npm run lint - name: Upload ESLint report - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: eslint-report path: eslint-report.json diff --git a/.github/workflows/prettier.yaml b/.github/workflows/prettier.yaml index eb5379e..dc18c46 100644 --- a/.github/workflows/prettier.yaml +++ b/.github/workflows/prettier.yaml @@ -22,6 +22,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | + git config --global user.name "github-actions[bot]" + git config --global user.email "github-actions[bot]@users.noreply.github.com" git add . git commit -m "Format code with Prettier (fixes ${GITHUB_EVENT_BEFORE})" git push origin main