Skip to content

Shared / Copier Update #6

Shared / Copier Update

Shared / Copier Update #6

# This file is @generated by <https://github.com/liblaf/copier-shared>.
# DO NOT EDIT!
name: Shared / Copier Update
on:
schedule:
- cron: "0 0 * * 6" # Runs at 00:00, only on Saturday
workflow_dispatch:
env:
FORCE_COLOR: 1
jobs:
copier-update:
name: Copier Update
permissions:
contents: write
issues: write
pull-requests: write
runs-on: ubuntu-latest
environment:
name: copier
deployment: false
steps:
- id: auth
name: Auth
uses: liblaf/actions/auth@d510a5eaa5206b30ed1009660d04ef8082daf2d9 # v2
with:
client-id: ${{ vars.APP_CLIENT_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Install mise
uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4
- name: Install Copier
run: pipx install --pip-args cookiecutter copier
- name: Copier update
run: mise run copier-update --skip-answered --trust --force
- name: Create PR
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8
with:
token: ${{ steps.auth.outputs.token }}
commit-message: "chore(copier): update from template"
branch: copier-update/${{ github.ref_name }}
delete-branch: true
sign-commits: true
title: "chore(copier): update from template"
body: >-
Automated changes by [${{ github.workflow }}](${{ github.server_url
}}/${{ github.repository }}/actions/runs/${{ github.run_id }})
Workflow
labels: |-
automerge
copier
assignees: ${{ github.repository_owner }}