| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Rebased on v5. @dmitry-shibanov Could you review this, please? |
Sorry, something went wrong.
|
Could someone please take an action for this PR and release a new version? 🙏 |
Sorry, something went wrong.
|
@akx can you request review from the maintainers here? @priya-kinthali @aparnajyothi-y @HarithaVattikuti |
Sorry, something went wrong.
|
@ozancaglayan As an external, I have no option to request a reviewer. GitHub does say "actions/setup-actions-team was requested for review"... |
Sorry, something went wrong.
Also remove setup-python caching hacks. Refs: actions/setup-python#807 actions/setup-python#762 actions/setup-python#751 Reverts: 662a971 89d73b1 e8ef6db f65666c
|
Hello Everyone, Thank you for your contribution with this PR. We truly appreciate your understanding and patience, and we encourage you to continue sharing any further thoughts or suggestions you may have. |
Sorry, something went wrong.
|
Hello @akx, Please let us know if you still need any more clarifications/concerns on the above. |
Sorry, something went wrong.
It's opt-in, for corner cases as described in the PR description.
Yes, perfectly on purpose, as described in the PR description.
Any change or improvement does that, really. Do note that this PR does have tests and documentation included. @aparnajyothi-y Feel free to close this if you still believe it's not welcome. |
Sorry, something went wrong.
|
This would also allow using the cache while avoiding cache poisoning vulnerabilities from PRs: - uses: actions/setup-python@v5
with:
python-version: "3.13"
cache: "pip"
# For anything PR-related, treat the cache as restore-only:
cache-save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}Without this option, workflow security audits currently recommend removing cache: from actions/setup-python (which does in fact "limit caching benefits") and/or manually coding separate actions/cache/save and actions/cache/restore with appropriate conditions (which does in fact "introduce additional complexity"). |
Sorry, something went wrong.
|
For people following at home, actions/setup-uv just added this in tag 6.7.0. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
This PR adds a new cache-save: false option to opt out of saving the cache. As described in the documentation:
Related issue
I only found the related issue after implementing this: #751.
Check list