Skip to content

Commit

Permalink
ci: add template sync action
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp committed Dec 23, 2022
1 parent de04d35 commit 19e9505
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/sync-from-tpl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Sync changes from upstream template

on: # yamllint disable-line rule:truthy
# Trigger At 00:00 on each 1st day of month
schedule:
- cron: '0 0 1 * *'
# Manual trigger
workflow_dispatch:

jobs:
repo-sync:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/[email protected]
with:
token: ${{ secrets.WORKFLOW_TOKEN }}

- name: Sync changes from upstream template
uses: AndreasAugustin/[email protected]
with:
github_token: ${{ secrets.WORKFLOW_TOKEN }}
source_repo_path: wayofdev/next-starter-tpl
upstream_branch: master
pr_labels: 'type: maintenance'

0 comments on commit 19e9505

Please sign in to comment.