Skip to content

Fetch GitHub Data

Fetch GitHub Data #9

Workflow file for this run

name: Fetch GitHub Data
on:
schedule:
- cron: '0 0 * * *' # Run every day at midnight UTC
jobs:
fetch-data:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install Dependencies
run: npm install
- name: Fetch and Save Data
run: node scripts/fetchData.js