actions / actions/setup-python

Feature request: configurable MANIFEST_URL and downloadUrl for mirrors

Offen
#1,233 2 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@v-priyagupta108 arbeitet bereits daran.

Seit 15.9.2026.

feature request
Vorherrschende Sprache
TypeScript
Sterne
2.2k
Forks
739
Ø Merge
6 T. 18 Std.
Gemergte PRs (30 T.)
1

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.