]> git.proxmox.com Git - pve-eslint.git/blob - eslint/.github/workflows/update-readme.yml
import 8.41.0 source
[pve-eslint.git] / eslint / .github / workflows / update-readme.yml
1 name: Data Fetch
2
3 on:
4 schedule:
5 - cron: "0 8 * * *" # Every day at 1am PDT
6
7 jobs:
8 build:
9 runs-on: ubuntu-latest
10 steps:
11 - name: Check out repo
12 uses: actions/checkout@v3
13 with:
14 token: ${{ secrets.WORKFLOW_PUSH_BOT_TOKEN }}
15
16 - name: Set up Node.js
17 uses: actions/setup-node@v3
18
19 - name: Install npm packages
20 run: npm install
21
22 - name: Update README with latest team and sponsor data
23 run: npm run build:readme
24
25 - name: Setup Git
26 run: |
27 git config user.name "GitHub Actions Bot"
28 git config user.email "<eslint@googlegroups.com>"
29
30 - name: Save updated files
31 run: |
32 chmod +x ./tools/commit-readme.sh
33 ./tools/commit-readme.sh