Pin Task in CI to an exact version #6

Merged
mikluko merged 1 commit from ci-pin-task into main 2026-11-19 16:18:35 +00:00
Owner

Summary

 - uses: https://github.com/go-task/setup-task@v2
+  with:
+    version: 3.54.0

With the default 3.x, setup-task lists releases through GitHub's API and sends github.token, which on Forgejo is not a GitHub token. An exact version skips that call and downloads the release archive directly.

Evidence

  • Before: run #11 on main (and #10 on #5) fails in test / go at setup-task with ::error::Bad credentials
    After: this pull request's test / go check

Merge Danger

Door: two-way

Blast Radius: CI

## Summary ```diff - uses: https://github.com/go-task/setup-task@v2 + with: + version: 3.54.0 ``` With the default `3.x`, `setup-task` lists releases through GitHub's API and sends `github.token`, which on Forgejo is not a GitHub token. An exact version skips that call and downloads the release archive directly. ## Evidence - **Before:** run #11 on `main` (and #10 on #5) fails in `test / go` at `setup-task` with `::error::Bad credentials` **After:** this pull request's `test / go` check ## Merge Danger **Door:** two-way **Blast Radius:** CI
Pin Task in CI to an exact version
All checks were successful
test / changelog (pull_request) Successful in 5s
test / go (pull_request) Successful in 16s
8c667b92e0
Since #5 the go job on main fails at setup-task with "Bad credentials".

Assisted-By: Claude <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mikluko/perplexity-mcp!6
No description provided.