pve-eslint/eslint/.github/workflows/update-readme.yml
Dominik Csapak f2a92ac62f import 8.41.0 source
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2023-05-24 18:51:55 +02:00

34 lines
738 B
YAML

name: Data Fetch
on:
schedule:
- cron: "0 8 * * *" # Every day at 1am PDT
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v3
with:
token: ${{ secrets.WORKFLOW_PUSH_BOT_TOKEN }}
- name: Set up Node.js
uses: actions/setup-node@v3
- name: Install npm packages
run: npm install
- name: Update README with latest team and sponsor data
run: npm run build:readme
- name: Setup Git
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<eslint@googlegroups.com>"
- name: Save updated files
run: |
chmod +x ./tools/commit-readme.sh
./tools/commit-readme.sh