@mizchi/actrun 0.18.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/dist/actrun.js +124891 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -74,6 +74,17 @@ nix_packages = ["python312", "jq"]
|
|
|
74
74
|
# Container runtime: docker, podman, container, lima, nerdctl
|
|
75
75
|
container_runtime = "docker"
|
|
76
76
|
|
|
77
|
+
# Include uncommitted changes in worktree/tmp workspace
|
|
78
|
+
# include_dirty = true
|
|
79
|
+
|
|
80
|
+
# Default local GitHub context when `--event` is omitted
|
|
81
|
+
# [local_context]
|
|
82
|
+
# repository = "owner/repo"
|
|
83
|
+
# ref_name = "main"
|
|
84
|
+
# before_rev = "HEAD^"
|
|
85
|
+
# after_rev = "HEAD"
|
|
86
|
+
# actor = "your-name"
|
|
87
|
+
|
|
77
88
|
# Override actions with local commands
|
|
78
89
|
# [override."actions/setup-node"]
|
|
79
90
|
# run = "echo 'using local node' && node --version"
|
|
@@ -83,6 +94,8 @@ container_runtime = "docker"
|
|
|
83
94
|
# patterns = ["src/**", "package.json"]
|
|
84
95
|
```
|
|
85
96
|
|
|
97
|
+
When `--event` is omitted, actrun auto-detects `github.repository`, `github.ref_name`, `github.sha`, and `github.actor` from the local git repository when possible. Use `[local_context]` only when you need to pin or override those values. See [Local GitHub Context](docs/local-context.md) for precedence and examples.
|
|
98
|
+
|
|
86
99
|
CLI flags always override `actrun.toml` settings. See [Cheatsheet](docs/cheatsheet.md) for quick reference and [Advanced Workflow](docs/advanced-workflow.md) for details.
|
|
87
100
|
|
|
88
101
|
## CLI Reference
|
|
@@ -212,6 +225,7 @@ actrun cache prune --key <key> # Delete cache entry
|
|
|
212
225
|
| `--container-runtime <name>` | Container runtime: `docker`, `podman`, `container`, `lima`, `nerdctl` |
|
|
213
226
|
| `--affected [base]` | Only run if files matching patterns changed (see below) |
|
|
214
227
|
| `--retry` | Re-run only failed jobs from the latest run |
|
|
228
|
+
| `--include-dirty` | Include uncommitted changes in worktree/tmp workspace |
|
|
215
229
|
| `--json` | JSON output for read commands and `--dry-run` |
|
|
216
230
|
|
|
217
231
|
## Affected Runs
|