Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 1.16 KB

getCustomOidcSubClaimForRepo.md

File metadata and controls

46 lines (35 loc) · 1.16 KB
name example route scope type
Get the customization template for an OIDC subject claim for a repository
octokit.rest.actions.getCustomOidcSubClaimForRepo({ owner, repo })
GET /repos/{owner}/{repo}/actions/oidc/customization/sub
actions
API method

Get the customization template for an OIDC subject claim for a repository

Gets the customization template for an OpenID Connect (OIDC) subject claim.

OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

octokit.rest.actions.getCustomOidcSubClaimForRepo({
  owner,
  repo,
});

Parameters

name required description
owneryes

The account owner of the repository. The name is not case sensitive.

repoyes

The name of the repository without the .git extension. The name is not case sensitive.

See also: GitHub Developer Guide documentation.