generated from alshedivat/al-folio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6a4df3f
commit 6e95f31
Showing
1 changed file
with
10 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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' | ||
|