File tree Expand file tree Collapse file tree 5 files changed +11
-109
lines changed Expand file tree Collapse file tree 5 files changed +11
-109
lines changed Original file line number Diff line number Diff line change 1- name : Data Fetch
1+ name : update-readme
22
33on :
44 schedule :
5- - cron : " 0 8 * * *" # Every day at 1am PDT
5+ - cron : " 0 8 * * *" # Runs every day at 08:00 AM UTC
6+
67 workflow_dispatch :
78
89jobs :
910 update-readme :
10- runs-on : ubuntu-latest
11- steps :
12- - name : Check out repo
13- uses : actions/checkout@v5
14- with :
15- token : ${{ secrets.WORKFLOW_PUSH_BOT_TOKEN }}
16-
17- - name : Set up Node.js
18- uses : actions/setup-node@v5
19-
20- - name : Install npm packages
21- run : npm install --force
22-
23- - name : Update README with latest team and sponsor data
24- run : npm run build:readme
25-
26- - name : Setup Git
27- run : |
28- git config user.name "GitHub Actions Bot"
29- git config user.email "<eslint@googlegroups.com>"
30-
31- - name : Save updated files
32- run : |
33- chmod +x ./tools/commit-readme.sh
34- ./tools/commit-readme.sh
11+ uses : eslint/workflows/.github/workflows/update-readme.yml@main
12+ secrets :
13+ workflow_push_bot_token : ${{ secrets.WORKFLOW_PUSH_BOT_TOKEN }}
Original file line number Diff line number Diff line change @@ -12,3 +12,6 @@ _test.js
1212.eslint-release-info.json
1313yarn.lock
1414package-lock.json
15+
16+ # Automatically generated files by GitHub Actions workflow
17+ tools /update-readme.js
Original file line number Diff line number Diff line change 66 "scripts" : {
77 "test" : " npm test --workspaces --if-present" ,
88 "build" : " npm run build --workspaces --if-present" ,
9- "build:readme" : " node tools/update-readme.js" ,
10- "lint" : " eslint ." ,
11- "lint:fix" : " eslint --fix ."
9+ "lint" : " eslint" ,
10+ "lint:fix" : " eslint --fix"
1211 },
1312 "workspaces" : [
1413 " packages/*"
2726 "eslint-config-eslint" : " ^13.0.0" ,
2827 "eslint-plugin-chai-friendly" : " ^1.0.0" ,
2928 "globals" : " ^16.0.0" ,
30- "got" : " ^14.4.1" ,
3129 "lint-staged" : " ^15.2.0" ,
3230 "mocha" : " ^11.1.0" ,
3331 "yorkie" : " ^2.0.0"
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments