Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧪 Use prefetched action to make trampoline #293

Merged

Commits on Nov 6, 2024

  1. 🧪 Use prefetched action to make trampoline

    Previously, the action repository was being cloned from the remote
    twice, unnecessarily. This patch eliminates this step and
    uses the copy that was checked out on job start.
    
    The generated trampoline action is still copied into the allowlisted
    working directory so it can be referenced by the relative path
    starting with `./`.
    
    It is now output under
    `./.github/.tmp/.generated-actions/run-pypi-publish-in-docker-container`
    which mutates the end-user's workspace slightly but uses a path that
    is unlikely to clash with somebody else's use.
    
    Unfortunately, we cannot use randomized paths because the composite
    action syntax does not allow accessing variables in `uses:`.
    
    Fixes pypa#292.
    webknjaz committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    dfcfeca View commit details
    Browse the repository at this point in the history