From 83f98f41eb2e7c5bc8dc268011484f80a2dbbb84 Mon Sep 17 00:00:00 2001 From: Axel Niklasson Yun <6113675+axelniklasson@users.noreply.github.com> Date: Tue, 24 Mar 2026 12:31:58 +0000 Subject: [PATCH 1/4] Add support for timeout input Passes the --timeout flag through to the Linear Release CLI, allowing users to configure how long the action waits for a command to complete. Generated with [Linear](https://linear.app/linear/issue/LIN-64455/support-timeout-flag-in-linear-release-action#agent-session-37fe688a) Co-authored-by: linear[bot] <44709815+linear[bot]@users.noreply.github.com> --- README.md | 1 + action.yml | 4 ++++ run.sh | 1 + 3 files changed, 6 insertions(+) diff --git a/README.md b/README.md index b6ea346..855b4f0 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ steps: | `stage` | No | | Deployment stage such as `staging` or `production` (required for `update`) | | `include_paths` | No | | Filter commits by file paths (comma-separated globs for monorepos) | | `log_level` | No | | Log verbosity: `quiet` or `verbose`. Omit for default output. | +| `timeout` | No | | Maximum time to wait for the command to complete (e.g., `30s`, `5m`) | | `cli_version` | No | `latest` | Linear Release CLI version tag to install | `cli_version` defaults to `latest`, so the action automatically uses the newest CLI release. For reproducible builds, pin an exact tag (for example, `v0.5.0`). If stability is more important than automatic updates, prefer a pinned version. diff --git a/action.yml b/action.yml index d8455ba..1b30305 100644 --- a/action.yml +++ b/action.yml @@ -32,6 +32,9 @@ inputs: log_level: description: Log verbosity. Use "quiet" for errors only or "verbose" for detailed progress. Omit for default output. required: false + timeout: + description: Maximum time to wait for the command to complete (e.g., "30s", "5m"). Passed directly to CLI --timeout flag. + required: false cli_version: description: Linear Release CLI version to install (e.g., "v0.5.0" or "latest"). required: false @@ -73,6 +76,7 @@ runs: INPUT_STAGE: ${{ inputs.stage }} INPUT_INCLUDE_PATHS: ${{ inputs.include_paths }} INPUT_LOG_LEVEL: ${{ inputs.log_level }} + INPUT_TIMEOUT: ${{ inputs.timeout }} - name: Cleanup CLI binary if: always() diff --git a/run.sh b/run.sh index 52c8899..466a782 100644 --- a/run.sh +++ b/run.sh @@ -53,6 +53,7 @@ args=() [[ -n "${INPUT_VERSION:-}" ]] && args+=("--release-version=${INPUT_VERSION}") [[ -n "${INPUT_STAGE:-}" ]] && args+=("--stage=${INPUT_STAGE}") [[ -n "${INPUT_INCLUDE_PATHS:-}" ]] && args+=("--include-paths=${INPUT_INCLUDE_PATHS}") +[[ -n "${INPUT_TIMEOUT:-}" ]] && args+=("--timeout=${INPUT_TIMEOUT}") if [[ -n "${INPUT_LOG_LEVEL:-}" ]]; then case "$INPUT_LOG_LEVEL" in From a8a116a920ffc5ab9d9cf34d3f5a597ad5e875a3 Mon Sep 17 00:00:00 2001 From: Axel Niklasson Yun <6113675+axelniklasson@users.noreply.github.com> Date: Tue, 24 Mar 2026 12:40:48 +0000 Subject: [PATCH 2/4] Fix timeout input description to specify seconds Generated with [Linear](https://linear.app/linear/issue/LIN-64455/support-timeout-flag-in-linear-release-action#agent-session-37fe688a) Co-authored-by: linear[bot] <44709815+linear[bot]@users.noreply.github.com> --- README.md | 2 +- action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 855b4f0..bb70430 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ steps: | `stage` | No | | Deployment stage such as `staging` or `production` (required for `update`) | | `include_paths` | No | | Filter commits by file paths (comma-separated globs for monorepos) | | `log_level` | No | | Log verbosity: `quiet` or `verbose`. Omit for default output. | -| `timeout` | No | | Maximum time to wait for the command to complete (e.g., `30s`, `5m`) | +| `timeout` | No | | Maximum time in seconds to wait for the command to complete (e.g., `30`) | | `cli_version` | No | `latest` | Linear Release CLI version tag to install | `cli_version` defaults to `latest`, so the action automatically uses the newest CLI release. For reproducible builds, pin an exact tag (for example, `v0.5.0`). If stability is more important than automatic updates, prefer a pinned version. diff --git a/action.yml b/action.yml index 1b30305..4ec1af8 100644 --- a/action.yml +++ b/action.yml @@ -33,7 +33,7 @@ inputs: description: Log verbosity. Use "quiet" for errors only or "verbose" for detailed progress. Omit for default output. required: false timeout: - description: Maximum time to wait for the command to complete (e.g., "30s", "5m"). Passed directly to CLI --timeout flag. + description: Maximum time in seconds to wait for the command to complete (e.g., "30"). Passed directly to CLI --timeout flag. required: false cli_version: description: Linear Release CLI version to install (e.g., "v0.5.0" or "latest"). From b7dc51ed9c980e13d69bd79cd580b7d796afe67c Mon Sep 17 00:00:00 2001 From: Axel Niklasson Yun <6113675+axelniklasson@users.noreply.github.com> Date: Tue, 24 Mar 2026 12:42:20 +0000 Subject: [PATCH 3/4] Update timeout description and document default of 60s Generated with [Linear](https://linear.app/linear/issue/LIN-64455/support-timeout-flag-in-linear-release-action#agent-session-37fe688a) Co-authored-by: linear[bot] <44709815+linear[bot]@users.noreply.github.com> --- README.md | 2 +- action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bb70430..4b1fdad 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ steps: | `stage` | No | | Deployment stage such as `staging` or `production` (required for `update`) | | `include_paths` | No | | Filter commits by file paths (comma-separated globs for monorepos) | | `log_level` | No | | Log verbosity: `quiet` or `verbose`. Omit for default output. | -| `timeout` | No | | Maximum time in seconds to wait for the command to complete (e.g., `30`) | +| `timeout` | No | `60` | Maximum time in seconds to wait for the command to complete | | `cli_version` | No | `latest` | Linear Release CLI version tag to install | `cli_version` defaults to `latest`, so the action automatically uses the newest CLI release. For reproducible builds, pin an exact tag (for example, `v0.5.0`). If stability is more important than automatic updates, prefer a pinned version. diff --git a/action.yml b/action.yml index 4ec1af8..b5346ef 100644 --- a/action.yml +++ b/action.yml @@ -33,7 +33,7 @@ inputs: description: Log verbosity. Use "quiet" for errors only or "verbose" for detailed progress. Omit for default output. required: false timeout: - description: Maximum time in seconds to wait for the command to complete (e.g., "30"). Passed directly to CLI --timeout flag. + description: Maximum time in seconds to wait for the command to complete. Defaults to 60. required: false cli_version: description: Linear Release CLI version to install (e.g., "v0.5.0" or "latest"). From 36a01e0f6ab298b157f132d12fe234fdea94636e Mon Sep 17 00:00:00 2001 From: Axel Niklasson Yun <6113675+axelniklasson@users.noreply.github.com> Date: Tue, 24 Mar 2026 12:43:44 +0000 Subject: [PATCH 4/4] Fix table alignment in README Generated with [Linear](https://linear.app/linear/issue/LIN-64455/support-timeout-flag-in-linear-release-action#agent-session-37fe688a) Co-authored-by: linear[bot] <44709815+linear[bot]@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4b1fdad..bddc8b0 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ steps: | `stage` | No | | Deployment stage such as `staging` or `production` (required for `update`) | | `include_paths` | No | | Filter commits by file paths (comma-separated globs for monorepos) | | `log_level` | No | | Log verbosity: `quiet` or `verbose`. Omit for default output. | -| `timeout` | No | `60` | Maximum time in seconds to wait for the command to complete | +| `timeout` | No | `60` | Maximum time in seconds to wait for the command to complete | | `cli_version` | No | `latest` | Linear Release CLI version tag to install | `cli_version` defaults to `latest`, so the action automatically uses the newest CLI release. For reproducible builds, pin an exact tag (for example, `v0.5.0`). If stability is more important than automatic updates, prefer a pinned version.