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
Clarify the error during OIDC exchange on PRs from forks
This specializes the token retrieval error handling, providing an
alternative error message when the error cause is something
that we know can't possibly work due to GitHub's own restrictions
on PRs from forks.
PR #203Closes#202
Ref python-pillow/Pillow#7616
Co-authored-by: Sviatoslav Sydorenko <[email protected]>
Copy file name to clipboardExpand all lines: oidc-exchange.py
+43-1
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,20 @@
47
47
Learn more at https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect#adding-permissions-settings.
48
48
"""
49
49
50
+
# Specialization of the token retrieval failure case, when we know that
51
+
# the failure cause is use within a third-party PR.
0 commit comments