Closed soapy1 closed 4 days ago
PR's coming from forks of users with improper github access have the "Builds and maybe upload PyPI package" workflow failing. For example:
The error produced is:
Error: Failed to get ID token: Error message: Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable
However, the workflow already has the required permissions set.
This PR proposes separating out the 2 use cases for building pypi packages. These are
Now, there are the worflows:
Refs: https://docs.github.com/en/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#configuring-required-approval-for-workflows-from-public-forks https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository
Context
PR's coming from forks of users with improper github access have the "Builds and maybe upload PyPI package" workflow failing. For example:
The error produced is:
However, the workflow already has the required permissions set.
Description
This PR proposes separating out the 2 use cases for building pypi packages. These are
Now, there are the worflows:
Refs: https://docs.github.com/en/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#configuring-required-approval-for-workflows-from-public-forks https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#setting-the-permissions-of-the-github_token-for-your-repository