Improve validation for `version` input

Open
#316 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
typescript
Domain
ci-cd

Research direction

Start at the action's version input and the checksum download step, reproducing the reported v1.98.10 run against the stable package URL. Determine what validation should reject or normalize, then verify that valid downloadable versions no longer fail during checksum retrieval.

Written by the indexing model from the issue text.

Description

The action fails on downloading checksum:

Run tailscale/github-action@306e68a486fd2350f2bfc3b19fcd143891a4a2d8
Resolved Tailscale version: v1.98.10
▶️ curl https://pkgs.tailscale.com/stable/tailscale_v1.98.10_amd64.tgz.sha256
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Error: curl failed with exit code 22
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0    19    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404

Even though the corresponding archive is listed on https://pkgs.tailscale.com/stable/#static: https://pkgs.tailscale.com/stable/tailscale_1.98.10_amd64.tgz - and it is downloadable.

Dominant language
TypeScript
Stars
938
Forks
137
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from tailscale/github-action

All issues in tailscale/github-action

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.