Pass the `token` input through on GHES by brcrista · Pull Request #427 · actions/setup-python

added 2 commits

June 10, 2022 19:06

@brcrista brcrista changed the title Pass thetoken input through on GHES Pass the token input through on GHES

Jun 11, 2022

dmitry-shibanov

marko-zivic-93

panticmilos

brcrista added a commit that referenced this pull request

Jun 15, 2022

brcrista added a commit that referenced this pull request

Jun 16, 2022

brcrista added a commit to ChristopherHX/setup-python that referenced this pull request

Aug 5, 2022

brcrista added a commit that referenced this pull request

Aug 30, 2022
* Only use github.token on github.com

This expression evaluates to `''` if called from GHES hosted elsewhere
You can still provide your token on both github.com and GHES

* Enshure blank result of expression and not false

* Revert "Revert "Pass the `token` input through on GHES (#427)" (#437)"

This reverts commit cf86e08.

* fix typo

* Add back the doc on the tool cache for self-hosted

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>

tdfacer pushed a commit to ifit/setup-python that referenced this pull request

Oct 7, 2025
* Pass the`token` input through on GHES

* Update the description for `token`

* Fix dist files

* Update package-lock.json

* Update README

* Fix indent level in YAML snippet

* secret names can't start with GITHUB_

tdfacer pushed a commit to ifit/setup-python that referenced this pull request

Oct 7, 2025

tdfacer pushed a commit to ifit/setup-python that referenced this pull request

Oct 7, 2025
* Only use github.token on github.com

This expression evaluates to `''` if called from GHES hosted elsewhere
You can still provide your token on both github.com and GHES

* Enshure blank result of expression and not false

* Revert "Revert "Pass the `token` input through on GHES (actions#427)" (actions#437)"

This reverts commit f05e25d.

* fix typo

* Add back the doc on the tool cache for self-hosted

Co-authored-by: Brian Cristante <33549821+brcrista@users.noreply.github.com>