ludicroushq/Patchworks
Safely sync a repository with the next commit from its Patchworks template
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Token used to fetch private templates on github.server_url, push the update branch, and create the pull request. Same-host HTTPS, git@host:path, and ssh://git@host/path template URLs are authenticated; other hosts use their ambient Git credentials and never receive this token. Leave blank to use GITHUB_TOKEN. Updates that modify .github/workflows require a GitHub App or fine-grained personal access token with Contents, Pull requests, and Workflows write access. | no | "" |
| patchworks-package | Exact Patchworks npm package spec to execute. By default the action reads the version from its checked-in packages/patchworks/package.json and installs that exact version. This input is primarily for testing immutable pkg.pr.new builds. | no | "" |
| branch | Branch used for the Patchworks pull request | no | patchworks/update |
| base | Pull request base branch; defaults to the repository's default branch | no | "" |
| author | Optional commit author in 'Name <email>' format | no | "" |
| committer | Optional commit committer in 'Name <email>' format | no | "" |
Outputs
| name | description |
|---|---|
| status | Stable result: pull-request-open, up-to-date, updates-ready, or conflicts |
| engine-status | Status reported by the Patchworks CLI, when present |
| has-changes | Whether the update changed the working tree |
| has-rejects | Whether the update produced any reject artifacts |
| had-conflicts | Whether the Patchworks engine encountered conflicts |
| reject-files | Newline-delimited reject artifact paths |
| reject-files-json | JSON array of reject artifact paths |
| workflow-changes | Whether the update changes YAML files under .github/workflows |
| workflow-files | Newline-delimited changed workflow file paths |
| workflow-files-json | JSON array of changed workflow file paths |
| current-commit | Template commit recorded before the update |
| next-commit | Template commit prepared by this update |
| pull-request-url | Existing or newly created Patchworks pull request URL |
| pull-request-number | Newly created Patchworks pull request number |
| pull-request-operation | Operation reported by create-pull-request |
| permission-check | Result of the repository pull-request permission preflight |