actions / actions/setup-python

Feature request: configurable MANIFEST_URL and downloadUrl for mirrors

Đang mở
#1,233 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

@v-priyagupta108 đang làm issue này rồi.

Từ ngày 15/9/2026.

feature request
Ngôn ngữ chính
TypeScript
Star
2.2k
Fork
739
Merge trung bình
6 ngày 18 giờ
Pull request đã merge (30 ngày)
1

Mô tả

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. 🙏

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.