Skip to content

Sync GitHub

Sync GitHub #66

Workflow file for this run

name: Sync GitHub
on:
schedule:
- cron: '0 * * * *'
workflow_dispatch:
push:
branches:
- main
paths:
- 'projects/**'
jobs:
sync-github:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- run: node scripts/sync-github.mjs
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Commit & Push changes
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}