Skip to content

docs: add permissions field to trusted publisher configurations#61

Merged
karenjli merged 1 commit into
mainfrom
oidc-permissions
May 20, 2026
Merged

docs: add permissions field to trusted publisher configurations#61
karenjli merged 1 commit into
mainfrom
oidc-permissions

Conversation

@karenjli
Copy link
Copy Markdown
Collaborator

@karenjli karenjli commented May 20, 2026

Adds the permissions field to all trusted publisher OIDC configuration schemas and endpoints.

Changes

  • Added permissions (array of strings) to request/response schemas for all providers (GitHub, GitLab, CircleCI)
  • permissions is required on both create and response schemas
  • Accepted values are constrained via enum: createPackage, createStagedPackage
  • Updated all endpoint examples to include permissions
  • Updated POST description to reference permissions

@github-actions
Copy link
Copy Markdown

🚀 Preview deployed!

You can view the preview of your changes here: https://npm-2dad5180f4-61146453.drafts.github.io/

This preview will be updated automatically when you push new commits to this PR.

@karenjli karenjli merged commit 60bd49d into main May 20, 2026
5 checks passed
@karenjli karenjli deleted the oidc-permissions branch May 20, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants