actions / actions/setup-python

Feature request: configurable MANIFEST_URL and downloadUrl for mirrors

未关闭
#1,233 2 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@v-priyagupta108 已经在做这个了。

开始于 2026年9月15日。

feature request
主要语言
TypeScript
星标
2.2k
派生
739
平均合并
6 天 18 小时
30 天内合并 PR
1

描述

Hi team 👋

Description:
I’d like to ask if setup-python could support customizing MANIFEST_URL and downloadUrl.
In self-hosted environments like Gitea, I mirror GitHub Action repositories locally due to firewall restrictions.
Currently, some URLs inside the action are hardcoded to GitHub (e.g., MANIFEST_URL), which prevents using mirrors.
It would be helpful to allow overriding these URLs via with: parameters so mirrored sources can be used.

Justification:

  • I maintain a self-hosted Gitea instance and mirror actions to avoid firewall issues.
  • Overriding hardcoded URLs would allow users in restricted regions to use mirrors without modifying the action code.
  • Manual code modification is inconvenient because I still periodically sync updates from upstream. Supporting this feature would simplify maintenance and increase usability for self-hosted deployments.

Are you willing to submit a PR?
No, I am just proposing the feature.

Thanks so much for your work on setup-python! I really appreciate your time and consideration. 🙏

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。