task/taskfile
Valentin Maerten 542fe465e9
✨ feat(output): add gitlab output mode (#2806)
Adds a new `gitlab` output style that wraps each task's output in GitLab
CI collapsible section markers. Section IDs are generated automatically
so that start and end markers always match and stay unique per
invocation — even when the same task runs multiple times in one job.

Options: `collapsed` (maps to GitLab's native `[collapsed=true]`) and
`error_only` (Task-level behavior, identical to `group.error_only`).

Also introduces `output-ci-auto` (taskrc + TASK_OUTPUT_CI_AUTO env var)
that auto-selects a CI-aware output style when a supported CI runner is
detected (currently `GITLAB_CI=true` → gitlab) and no output style is
explicitly configured. Keeps the Taskfile neutral so local devs are not
forced into CI-shaped output.

Refs #2806.
2026-04-22 14:10:55 +02:00
..
ast ✨ feat(output): add gitlab output mode (#2806) 2026-04-22 14:10:55 +02:00
templates fix: a couple of fixes and improvements on task --init (#2433) 2025-12-07 20:29:51 +00:00
themes feat: decoding improvements (#2068) 2025-02-22 15:44:22 +00:00
dotenv.go fix: special variable type errors in vars with no task context (#2107) 2025-03-10 11:46:07 +00:00
node.go feat: support self-signed certificates for remote taskfiles (#2537) 2026-01-25 18:51:30 +01:00
node_base.go feat: support self-signed certificates for remote taskfiles (#2537) 2026-01-25 18:51:30 +01:00
node_cache.go feat: redact credentials in remote urls (#2220) 2025-05-24 13:38:18 +01:00
node_file.go fix: improve error message when searching for Taskfile. (#2682) 2026-02-15 14:56:35 +01:00
node_git.go fix(git): check cache before context timeout in getOrCloneRepo (#2669) 2026-02-15 14:46:55 +01:00
node_git_test.go fix: remote git taskfile cloning and directory includes (#2602) 2026-01-14 19:43:39 +01:00
node_http.go chore: add nolint annotations for gosec linter 2026-04-13 10:46:19 -03:00
node_http_test.go feat: support self-signed certificates for remote taskfiles (#2537) 2026-01-25 18:51:30 +01:00
node_stdin.go fix: properly resolve remote entrypoints (#2438) 2025-10-12 13:29:57 +02:00
node_test.go feat: add parallel test execution to improve runtime (#1882) 2024-12-11 21:47:10 -03:00
reader.go fix: pin yaml package to v3 for now (#2693) 2026-02-17 15:29:51 -03:00
snippet.go feat: better functional options for reader (#2148) 2025-04-01 14:51:25 +01:00
snippet_test.go feat: better functional options for reader (#2148) 2025-04-01 14:51:25 +01:00
taskfile.go feat: support self-signed certificates for remote taskfiles (#2537) 2026-01-25 18:51:30 +01:00