mirror of
https://git.proxmox.com/git/pve-eslint
synced 2025-10-04 06:02:19 +00:00
34 lines
738 B
YAML
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
|