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
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:
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.