iterative / py-template

Hypermodern Python Cookiecutter
http://cookiecutter-hypermodern-python.readthedocs.io/
MIT License
14 stars 7 forks source link

add action to update template #71

Closed skshetry closed 2 years ago

skshetry commented 2 years ago

To test this, I have a PR open in https://github.com/iterative/scmrepo/pull/134, that uses this action. You can test this action over scmrepo with following command:

gh workflow run update-template.yaml -R iterative/scmrepo -r update=template

You can also add the following content to a workflow file, eg: .github/workflows/update-template.yml, that will trigger this action and create a PR for you.

name: Update template

on:
  schedule:
    - cron: '5 1 * * *'  # every day at 01:05
  workflow_dispatch:

jobs:
  update:
    runs-on: ubuntu-latest
    steps:
    - name: Check out the repository
      uses: actions/checkout@v3

    - name: Update template via cruft
      uses: iterative/py-template@add-update-action
dtrifiro commented 2 years ago

Did this break the renovate config? https://github.com/iterative/py-template/issues/72