GitHub Action Setup
Setting up the Patchworks GitHub Action
GitHub Action Setup
Patchworks can automatically check for updates from your template repository using GitHub Actions. When you create a new project with patchworks create
, a GitHub Action workflow file is automatically created for you.
Default Workflow
The default workflow file is created at .github/workflows/patchworks.yaml
and looks like this:
This workflow:
- Can be manually triggered with
workflow_dispatch
- Runs automatically at midnight every day (
cron: '0 0 * * *'
) - Uses the latest version of the Patchworks GitHub Action
Customizing the Schedule
You can customize the workflow file to change when it runs. For example, to run weekly instead of daily:
Note: The GitHub Action is currently under development. Check back for updates on additional features and options.