diff --git a/.github/workflows/sync-from-template.yml b/.github/workflows/sync-from-template.yml index f8c54e5..a69ceb7 100644 --- a/.github/workflows/sync-from-template.yml +++ b/.github/workflows/sync-from-template.yml @@ -1,22 +1,25 @@ -```yaml name: Sync from template on: - # cronjob trigger + # Cron job trigger schedule: - cron: "0 0 1 * *" - # manual trigger + # Manual trigger workflow_dispatch: + jobs: repo-sync: runs-on: ubuntu-latest + steps: - # To use this repository's private action, you must check out the repository + # Checkout the repository - name: Checkout uses: actions/checkout@v4 - - name: actions-template-sync + + # 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 -``` + upstream_branch: master # Or 'main' if the default branch is 'main' +