Skip to content

Update Repos

Update Repos #190

Workflow file for this run

name: Update Repos
on:
schedule:
- cron: '0 3 * * *'
workflow_dispatch:
# This enables manual triggering
jobs:
update-repos:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- name: Run fetchRepos script
run: npm start
- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "Mark Conroy"
git add assets/repos.json
git commit -m "nightly update" || echo "No changes to commit"
git push