@mizchi/actrun 0.19.0 → 0.22.1
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 +10 -0
- package/dist/actrun.js +21358 -4748
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -77,6 +77,14 @@ container_runtime = "docker"
|
|
|
77
77
|
# Include uncommitted changes in worktree/tmp workspace
|
|
78
78
|
# include_dirty = true
|
|
79
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
|
+
|
|
80
88
|
# Override actions with local commands
|
|
81
89
|
# [override."actions/setup-node"]
|
|
82
90
|
# run = "echo 'using local node' && node --version"
|
|
@@ -86,6 +94,8 @@ container_runtime = "docker"
|
|
|
86
94
|
# patterns = ["src/**", "package.json"]
|
|
87
95
|
```
|
|
88
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
|
+
|
|
89
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.
|
|
90
100
|
|
|
91
101
|
## CLI Reference
|