You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `access_key` | Yes | | Linear pipeline access key for authentication |
49
49
| `command` | No | `sync` | Command to run: `sync`, `complete`, or `update` |
50
-
| `name` | No | | Custom release name (only used with `sync` command) |
50
+
| `name` | No | | Custom release name for `sync`. Continuous pipelines: used on create. Scheduled pipelines: used only when `sync` creates a release; existing release names are preserved. Ignored (with warning) for `complete` and `update`. |
51
51
| `version` | No | | Release version identifier |
52
52
| `stage` | No | | Deployment stage such as `staging` or `production` (required for `update`) |
53
53
| `include_paths` | No | | Filter commits by file paths (comma-separated globs for monorepos) |
@@ -119,6 +119,16 @@ Updates the deployment stage of the current release. Only applicable to schedule
119
119
stage: staging
120
120
```
121
121
122
+
### Command targeting
123
+
124
+
| Command | With `version` | Without `version` |
125
+
| ------- | -------------- | ----------------- |
126
+
| `sync` | Targets matching version or creates that version | Continuous pipelines create a release with short SHA name/version. Scheduled pipelines use current started/planned flow. |
127
+
| `update` | Updates that exact release version | Updates latest started release, or latest planned release if no started release exists |
128
+
| `complete` | Completes that exact release version | Completes latest started release |
129
+
130
+
For scheduled pipelines, prefer always passing `version` in CI, especially when releases overlap.
131
+
122
132
### Monorepo filtering
123
133
124
134
Filter commits by file paths to track releases for specific packages:
@@ -144,6 +154,10 @@ Ensure you've set the `access_key` input with your Linear pipeline access key st
144
154
145
155
Make sure your commits contain Linear issue identifiers (e.g., `ENG-123`) and that `actions/checkout` uses `fetch-depth: 0`.
146
156
157
+
**`name` is ignored on non-sync commands**
158
+
159
+
If `name` is provided with `command: update` or `command: complete`, the action prints a warning and continues. Use `name` with `command: sync` only.
0 commit comments