Skip to content

Commit fcb277c

Browse files
authored
ci: create update-readme workflow (#49)
1 parent f1a0161 commit fcb277c

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
@@ -7,3 +7,6 @@ package-lock.json
77
*.code-workspace
88
.idea
99
.cursor
10+
11+
# Automatically generated files by GitHub Actions workflow
12+
tools/update-readme.js

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,10 @@ module.exports = {
121121
},
122122
};
123123
```
124+
125+
<!-- NOTE: This section is autogenerated. Do not manually edit.-->
126+
<!--sponsorsstart-->
127+
128+
## Sponsors
129+
130+
<!--sponsorsend-->

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
"lib"
1717
],
1818
"scripts": {
19-
"lint": "eslint .",
19+
"lint": "eslint",
20+
"lint:fix": "eslint --fix",
2021
"test": "mocha tests/**/*.test.js"
2122
},
2223
"devDependencies": {

0 commit comments

Comments
 (0)