Skip to content

Sync Files

Sync Files #28

Workflow file for this run

name: Sync Files
on:
push:
branches: [main]
paths:
- "template/**"
- ".github/workflows/sync.yml"
- ".github/scripts/sync.sh"
schedule:
# Run daily at midnight UTC to keep downstream repositories in sync
- cron: "0 0 * * *"
workflow_dispatch:
permissions:
contents: read
jobs:
sync:
name: Sync Files
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v7
- name: Install StyLua
run: npm install -g @johnnymorganz/stylua-bin
- name: Sync template files to downstream repositories
run: bash .github/scripts/sync.sh
env:
GH_TOKEN: ${{ secrets.GH_PAT }}