From 6d82cd9d9cdc9fe1f6022e05f7fe4512c0546b60 Mon Sep 17 00:00:00 2001 From: xynydev <60004820+xynydev@users.noreply.github.com> Date: Tue, 20 Feb 2024 21:17:49 +0200 Subject: [PATCH] feat: start using actions-template-sync --- .github/workflows/template-sync.yml | 17 +++++++++++++++++ .templatesyncignore | 3 +++ 2 files changed, 20 insertions(+) create mode 100644 .github/workflows/template-sync.yml create mode 100644 .templatesyncignore diff --git a/.github/workflows/template-sync.yml b/.github/workflows/template-sync.yml new file mode 100644 index 0000000..36f2d6f --- /dev/null +++ b/.github/workflows/template-sync.yml @@ -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 diff --git a/.templatesyncignore b/.templatesyncignore new file mode 100644 index 0000000..c1a2e75 --- /dev/null +++ b/.templatesyncignore @@ -0,0 +1,3 @@ +/modules/* +/config/* +README.md \ No newline at end of file