actions / actions/toolkit

Download tool method in tool-cache package should allow passing http request options

Open
#1,117 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
5.9k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

I think it would be great if the download tool method in tool cache package should allow a way to set http request options like ignore SSL errors
I'm fairly new to this and just not seeing any way to do this. Currently using this to download a cli from an endpoint, its a dev environment and due to SSL cert errors not able to download the tool

Contributor guide

Open the contributing guide

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.

Research direction

Start by locating the tool-cache package's download method and reviewing how it constructs HTTP requests. Determine how request options such as ignoring SSL errors could be passed through, then add coverage for the option and verify that downloads use it.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.