You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From pypa/gh-action-pypi-publish#217: some users configure their trusted publisher with a different casing than their actual GitHub repository (e.g. the repo might be Bar and they configure bar).
GitHub appears to treat these names as equivalent (repo names appear to be case insensitive generally), but PyPI performs a case sensitive comparison. As a result, some trusted publishing activities are erroneously rejected, as in the linked issue.
I think the fix here is just to switch to case insensitive comparisons on the repository claim, and (maybe?) on the repository_owner as well.