Skip to content

Commit

Permalink
Update sync-from-template.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
siril-teja authored Nov 22, 2024
1 parent 6a4df3f commit 6e95f31
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/sync-from-template.yml
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'

0 comments on commit 6e95f31

Please sign in to comment.