feat: start using actions-template-sync

This commit is contained in:
xynydev 2024-02-20 21:17:49 +02:00
parent 106b868f25
commit 6d82cd9d9c
2 changed files with 20 additions and 0 deletions

17
.github/workflows/template-sync.yml vendored Normal file
View File

@ -0,0 +1,17 @@
on:
schedule:
- cron: "0 0 * * 1" # triggers on midnight on every monday
workflow_dispatch: # allow manual triggers
jobs:
repo-sync:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4 # clone repo
- name: Sync repository with upstream template
uses: AndreasAugustin/actions-template-sync@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_repo_path: blue-build/template

3
.templatesyncignore Normal file
View File

@ -0,0 +1,3 @@
/modules/*
/config/*
README.md