Sync from template #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync from template | |
on: | |
# Cron job trigger | |
schedule: | |
- cron: "0 0 1 * *" | |
# Manual trigger | |
workflow_dispatch: | |
jobs: | |
repo-sync: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the repository | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# Sync with the template repository | |
- name: Sync from template | |
uses: AndreasAugustin/actions-template-sync@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
source_repo_path: alshedivat/al-folio | |
upstream_branch: master # Or 'main' if the default branch is 'main' | |