Skip to content

Commit

Permalink
Give more information to users
Browse files Browse the repository at this point in the history
Reusable workflows don't work, and it's challenging to know that. Help the user out.
  • Loading branch information
virtuald committed Oct 29, 2023
1 parent 79739dc commit 1d8a9df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ tag, or opt-in to [use a full Git commit SHA] and Dependabot.

### Trusted publishing

> [!NOTE] Trusted publishing does not support reusable workflows at this time,
> please use a username/token instead.
> [!NOTE]
> Trusted publishing is sometimes referred to by its
> underlying technology -- OpenID Connect, or OIDC for short.
Expand Down
3 changes: 3 additions & 0 deletions oidc-exchange.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@
* `repository_owner_id`: `{repository_owner_id}`
* `job_workflow_ref`: `{job_workflow_ref}`
* `ref`: `{ref}`
See https://docs.pypi.org/trusted-publishers/troubleshooting/ for more help
"""

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

0 comments on commit 1d8a9df

Please sign in to comment.