Skip to content

Commit 1d8a9df

Browse files
committed
Give more information to users
Reusable workflows don't work, and it's challenging to know that. Help the user out.
1 parent 79739dc commit 1d8a9df

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ tag, or opt-in to [use a full Git commit SHA] and Dependabot.
2525

2626
### Trusted publishing
2727

28+
> [!NOTE] Trusted publishing does not support reusable workflows at this time,
29+
> please use a username/token instead.
30+
2831
> [!NOTE]
2932
> Trusted publishing is sometimes referred to by its
3033
> underlying technology -- OpenID Connect, or OIDC for short.

oidc-exchange.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@
7171
* `repository_owner_id`: `{repository_owner_id}`
7272
* `job_workflow_ref`: `{job_workflow_ref}`
7373
* `ref`: `{ref}`
74+
75+
See https://docs.pypi.org/trusted-publishers/troubleshooting/ for more help
76+
7477
"""
7578

7679
# Rendered if the package index's token response isn't valid JSON.

0 commit comments

Comments
 (0)