Skip to content

Commit 4292a08

Browse files
authored
ci: create update-readme workflow (#203)
1 parent 2127040 commit 4292a08

File tree

4 files changed

+25
-1
lines changed

4 files changed

+25
-1
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: update-readme
2+
3+
on:
4+
schedule:
5+
- cron: "0 8 * * *" # Runs every day at 08:00 AM UTC
6+
7+
workflow_dispatch:
8+
9+
jobs:
10+
update-readme:
11+
uses: eslint/workflows/.github/workflows/update-readme.yml@main
12+
secrets:
13+
workflow_push_bot_token: ${{ secrets.WORKFLOW_PUSH_BOT_TOKEN }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ node_modules/
2121
.idea
2222
.cursor
2323
/tmp
24+
25+
# Automatically generated files by GitHub Actions workflow
26+
tools/update-readme.js

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,10 @@ To use an eslintrc-style (legacy) shared config:
3030
```bash
3131
npm init @eslint/config@latest -- --eslintrc --config eslint-config-standard
3232
```
33+
34+
<!-- NOTE: This section is autogenerated. Do not manually edit.-->
35+
<!--sponsorsstart-->
36+
37+
## Sponsors
38+
39+
<!--sponsorsend-->

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"access": "public"
3030
},
3131
"scripts": {
32-
"lint": "eslint .",
32+
"lint": "eslint",
33+
"lint:fix": "eslint --fix",
3334
"test": "vitest run --coverage",
3435
"test:snapshots": "vitest run snapshots",
3536
"test:snapshots:update": "vitest -u run snapshots"

0 commit comments

Comments
 (0)