Prompt Buddy logoPrompt Buddy

github · GitHub Actions Docs

Actions Configuring OpenID Connect in PyPI - GitHub Docs

Configures OpenID Connect (OIDC) to allow GitHub Actions to authenticate with PyPI without using long-lived secrets.

Import to Prompt Buddy

Derived skill

Files assembled from official documentation

Viewing SKILL.md

Actions Configuring OpenID Connect in PyPI - GitHub Docs

Configures OpenID Connect (OIDC) to allow GitHub Actions to authenticate with PyPI without using long-lived secrets.

When To Use

Use when you need to automate Python package uploads to PyPI from GitHub Actions using short-lived, identity-based authentication instead of permanent API tokens.

Reference Files

FileContainsUse For
SKILL.mdEntry point: scope, routing table, and workflow.Start here.
docs/actions-how-tos-secure-your-work-configuring-openid-connect-in-pypi-gith-workflow-guide.mdA guide explaining how to configure OpenID Connect to securely authenticate GitHub Actions with PyPI.Questions about a guide explaining how to configure OpenID Connect to securely authenticate GitHub Actions with PyPI.
examples/actions-how-tos-secure-your-work-configuring-openid-connect-in-pypi-gith.textA GitHub Actions workflow YAML configuration demonstrating how to use OpenID Connect to authenticate with PyPI.Exact payloads, commands, or snippets shown in A GitHub Actions workflow YAML configuration demonstrating how to use OpenID Connect to authenticate with PyPI.

What This Skill Covers

    • GitHub Actions / - How-tos / - Secure your work / - Security harden deployments / - OIDC in PyPI
  • Main sections: In this article, Overview, Prerequisites, Adding the identity provider to PyPI, Updating your GitHub Actions workflow.

Workflow

  1. Open the most relevant file under docs/ for the exact documented workflow and wording.
  2. Open schemas/ files for exact structured contracts.
  3. Open examples/ files for concrete requests, commands, snippets, and manifests.
  4. Do not add behavior or configuration that is not present in the attached source files.

Canonical source: https://docs.github.com/en/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-pypi