1
0
mirror of https://github.com/go-task/task.git synced 2026-04-24 19:54:16 +02:00
Commit Graph

2729 Commits

Author SHA1 Message Date
Valentin Maerten fa03d6e507 style: fix formatting 2026-04-20 22:06:01 +02:00
Valentin Maerten 37d6b7155f rename: gitignore -> use_gitignore for clarity
Rename the Taskfile/task option from `gitignore` to `use_gitignore`
to avoid ambiguity (could be read as "ignore git" vs "use .gitignore").
Consistent with Biome's `useIgnoreFile` naming convention.
2026-04-20 22:06:01 +02:00
Valentin Maerten 43e28d9d0b refactor: remove rootDir param, auto-detect .git as boundary
Walk up from task dir to find .git instead of threading rootDir through
Globs, checkers, and itemsFromFor. Gitignore rules are discarded if no
.git is found, matching ripgrep's require_git behavior. This keeps the
Globs signature clean and makes the future .taskignore integration
straightforward (loaded at setup like .taskrc, separate boundary).
2026-04-20 22:05:50 +02:00
Valentin Maerten 78e057e9cb wip 2026-04-20 22:05:50 +02:00
Valentin Maerten 714ffdb1b5 refactor: replace go-git with sabhiram/go-gitignore for lighter dependency
go-git pulled ~30 transitive dependencies and recursively walked the
entire worktree on every Globs() call. Replace with sabhiram/go-gitignore
(zero dependencies) and a simple walk from task dir up to rootDir to
collect .gitignore files. Pass rootDir (Taskfile ROOT_DIR) through the
checker chain to bound the search scope.
2026-04-20 22:05:29 +02:00
Valentin Maerten 092663a2f2 feat: add gitignore option to exclude ignored files from sources/generates
When `gitignore: true` is set at the Taskfile or task level, files
matching .gitignore rules are automatically excluded from sources and
generates glob resolution. This prevents rebuilds triggered by changes
to files that are in .gitignore (build artifacts, generated files, etc.).

Uses go-git to load .gitignore patterns including nested .gitignore
files, .git/info/exclude, and global gitignore configuration.
2026-04-20 22:05:02 +02:00
Andreas **Felix** Häberle 70b6cd8ee0 docs: add call internal task within a task example (#2789)
Co-authored-by: Valentin Maerten <maerten.valentin@gmail.com>
2026-04-20 21:58:42 +02:00
Valentin Maerten 1eb5720e7e chore: changelog for #2788 2026-04-20 21:53:50 +02:00
Mateen Anjum 1b06da16f6 feat(templater): add absPath template function (#2788)
Signed-off-by: Mateen Anjum <mateenali66@gmail.com>
Co-authored-by: Valentin Maerten <maerten.valentin@gmail.com>
2026-04-20 21:50:03 +02:00
Andrey Nering 6e37e3d7a7 chore(website): remove controls to copy page content
This is part of the LLM plugin. It's distracting and not really useful.

We're keeping the markdown version of the pages, tho. Just append `.md`
to any page to see the markdown version.
2026-04-15 16:39:20 -03:00
Pete Davison 4bea638b05 feat: add security docs to website and update contributing (#2799) 2026-04-15 20:34:38 +01:00
Pete Davison 8f2d17a387 feat: use GH_PAT for goreleaser (#2797) 2026-04-15 13:33:57 +00:00
Andrey Nering f7d17fffad chore(website): update my bluesky handle 2026-04-15 10:16:02 -03:00
Pete Davison 697ef35303 feat: add permissions to actions (#2796) 2026-04-15 13:27:23 +01:00
Andrey Nering 8fe3d048fa docs: document and add blog post about go tool task (#2791) 2026-04-14 22:47:45 -03:00
Andrey Nering d61d92dfdf v3.50.0 v3.50.0 2026-04-13 17:54:26 -03:00
renovate[bot] 114ac1eedc chore(deps): update actions/github-script action to v9 (#2787)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-13 10:49:13 -03:00
renovate[bot] a016b7b72b chore(deps): update all non-major dependencies (#2786)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-13 10:48:30 -03:00
Andrey Nering 219bf3e5a5 chore: add nolint annotations for gosec linter
Add //nolint:gosec annotations for intentional code patterns
that are safe in context (path traversal in release tool,
uintptr conversion for terminals, weak rand in tests,
TLS skip verify for user-configured insecure mode).

Assisted-by: Kimi-K2.5 via Crush <crush@charm.land>
2026-04-13 10:46:19 -03:00
Andrey Nering b36fcfd8bb chore(golangci-lint): exclude gosec G306 for file permissions
This allows using 0644 file permissions without linter warnings.

Assisted-by: Kimi-K2.5 via Crush <crush@charm.land>
2026-04-13 10:46:19 -03:00
Andrey Nering ef8fb84c8f chore(golangci-lint): enable gosec linter 2026-04-13 10:46:19 -03:00
Andrey Nering ddecd51715 ci: add security action with govulncheck 2026-04-13 10:46:19 -03:00
Andrey Nering 88fc6d4f24 ci: pin action by commit hash 2026-04-13 10:46:19 -03:00
Andrey Nering 07fbd9887e docs(changelog): add entry for #2716 2026-04-11 21:45:48 -03:00
Doug Richardson f2e32beabd fix: re-run task when generated files are missing with method: timestamp (#2716) 2026-04-11 21:42:50 -03:00
dependabot[bot] 8fa9dc04ac chore(deps): bump github.com/aws/aws-sdk-go-v2/service/s3 from 1.97.1 to 1.97.3 (#2778)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-09 06:24:22 +00:00
renovate[bot] 0c98f1ad13 chore(deps): update all non-major dependencies (#2775)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-09 06:16:22 +00:00
Valentin Maerten a12cc6e843 chore: changelog for #2764 2026-04-09 08:16:03 +02:00
Mateen Anjum 44e1350d0c fix: handle SIGHUP in watcher (#2764) 2026-04-09 08:15:37 +02:00
dependabot[bot] 2973dd75f9 chore(deps): bump go.opentelemetry.io/otel/sdk from 1.40.0 to 1.43.0 (#2779)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-09 08:07:58 +02:00
dependabot[bot] a10f1d2ee7 chore(deps): bump google.golang.org/grpc from 1.78.0 to 1.79.3 (#2750)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-03 15:02:49 +00:00
dependabot[bot] f727b55fbc chore(deps): bump github.com/go-jose/go-jose/v4 from 4.1.3 to 4.1.4 (#2771)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-03 11:58:01 -03:00
renovate[bot] 363153cbf3 chore(deps): update pnpm/action-setup action to v5 (#2766)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-02 18:59:00 +02:00
Valentin Maerten 6b436eda48 fix: Windows CI test failures and path normalization (#2670) 2026-03-28 10:39:13 +01:00
Valentin Maerten 2ddebca4e1 docs: add AI usage disclosure policy (#2755) 2026-03-28 10:30:54 +01:00
renovate[bot] b6ab6153a2 chore(deps): update all non-major dependencies (#2728)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-28 10:28:52 +01:00
Rohan Santhosh Kumar bca99520bf docs: use dependent in gentle force docs (#2756)
Co-authored-by: rohan436 <rohan.santhoshkumar@googlemail.com>
2026-03-28 10:24:36 +01:00
Pete Davison 1312ee8a81 fix: typo in workflow 2026-03-23 20:06:17 +00:00
Pete Davison b7cb204f10 feat: test adjustments to issue-experiment workflow 2026-03-23 20:01:06 +00:00
renovate[bot] 921f84157a chore(deps): update go-task/setup-task action to v2 (#2759)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-23 08:39:36 +01:00
Valentin Maerten 470ef30f8f chore: changelog for #2730 2026-03-21 11:41:47 +01:00
Sergio 87b12e663e fix(fish): honor GO_TASK_PROGNAME for experiments cache (#2730) 2026-03-21 11:37:51 +01:00
Valentin Maerten e61700f36d chore: changelog for #2678 2026-03-21 11:37:12 +01:00
Valentin Maerten 8b6aca5722 feat(requires): support variable references in enum constraints (#2678) 2026-03-21 11:32:02 +01:00
Sergio 19d8fae5f9 docs: correct stdin Taskfile command example (#2738) 2026-03-18 20:48:57 +00:00
Valentin Maerten c387048f8f feat(website): add APK (Alpine Linux) to official package managers
Add Alpine Linux APK installation instructions via Cloudsmith and move
the Cloudsmith hosting info block above the package manager sections.
2026-03-18 21:42:17 +01:00
Valentin Maerten f2b3ba1263 feat(website): add community sponsors section with Cloudsmith (#2748) 2026-03-17 22:00:48 +01:00
renovate[bot] 2139e32426 chore(deps): update dependency netlify-cli to v24 (#2729)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-17 21:51:27 +01:00
renovate[bot] d4e168128b chore(deps): update pnpm/action-setup digest to fc06bc1 (#2744)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-17 21:51:01 +01:00
Andrey Nering 54bdcba369 ci: update to go 1.26 (#2724) 2026-03-08 17:25:37 -03:00