From cd2c1aec9fb5c911d3d9e7115d6d65d0c9a6e4cd Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Tue, 8 Oct 2024 17:18:02 -0400 Subject: [PATCH] add copier updater --- .copier-answers.yml | 2 +- .github/workflows/copier.yml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/copier.yml diff --git a/.copier-answers.yml b/.copier-answers.yml index 2f0facf..8c293b6 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,6 +1,6 @@ # Changes here will be overwritten by Copier _commit: d84ab3c -_src_path: . +_src_path: https://github.com/python-project-templates/base.git add_extension: python email: 3105306+timkpaine@users.noreply.github.com github: python-project-templates diff --git a/.github/workflows/copier.yml b/.github/workflows/copier.yml new file mode 100644 index 0000000..2825075 --- /dev/null +++ b/.github/workflows/copier.yml @@ -0,0 +1,18 @@ + +name: Copier Updates + +on: + workflow_dispatch: + schedule: + - cron: "0 5 * * 0" + +jobs: + update: + permissions: + contents: write + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions-ext/copier-update@main + with: + token: ${{ secrets.WORKFLOW_TOKEN }}