diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml new file mode 100644 index 0000000..96d0986 --- /dev/null +++ b/.github/workflows/update-readme.yml @@ -0,0 +1,13 @@ +name: update-readme + +on: + schedule: + - cron: "0 8 * * *" # Runs every day at 08:00 AM UTC + + workflow_dispatch: + +jobs: + update-readme: + uses: eslint/workflows/.github/workflows/update-readme.yml@main + secrets: + workflow_push_bot_token: ${{ secrets.WORKFLOW_PUSH_BOT_TOKEN }} diff --git a/.gitignore b/.gitignore index 1e5fe03..ba69cad 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,6 @@ package-lock.json *.code-workspace .idea .cursor + +# Automatically generated files by GitHub Actions workflow +tools/update-readme.js diff --git a/README.md b/README.md index 3eaaa99..276e568 100644 --- a/README.md +++ b/README.md @@ -121,3 +121,10 @@ module.exports = { }, }; ``` + + + + +## Sponsors + + diff --git a/package.json b/package.json index 1cf2657..c6e66e0 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "lib" ], "scripts": { - "lint": "eslint .", + "lint": "eslint", + "lint:fix": "eslint --fix", "test": "mocha tests/**/*.test.js" }, "devDependencies": {