tmknom/Retrieve OIDC Token

This action retrieves an OIDC token from the GitHub OpenID Connect Provider, decodes its payload, and extracts claims such as actor, repository, and workflow metadata. The data is organized into structured outputs for easier integration with external systems or workflow debugging. ## Usage ```yaml steps: - name: Retrieve OIDC Token uses: tmknom/retrieve-oidc-token-action@v0 ```

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None

no inputs

namedescription
payloadThe JWT payload included OIDC token as plain JSON.
actorThe `actor` claim is the name of the person or app that initiated the workflow.
actor_idThe `actor_id` claim is the account ID of the person or app that triggered the initial workflow run.
audThe `aud` claim identifies the recipients that the JWT is intended for.
base_refThe `base_ref` claim is the name of the base ref or target branch of the pull request in a workflow run.
event_nameThe `event_name` claim is the name of the event that triggered the workflow.
expThe `exp` claim is the expiry time of the JWT.
head_refThe `head_ref` claim is the head ref or source branch of the pull request in a workflow run.
iatThe `iat` claim is the time when the JWT was issued.
issThe `iss` claim is the issuer of the OIDC token.
job_workflow_refThe `job_workflow_ref` claim is the ref path to the reusable workflow.
job_workflow_shaThe `job_workflow_sha` claim is the commit SHA for the reusable workflow file.
jtiThe `jti` claim is a unique identifier for the OIDC token.
nbfThe `nbf` claim is the time before which the token cannot be used.
refThe `ref` claim is the fully-formed ref of the branch or tag that triggered the workflow run.
ref_protectedThe `ref_protected` claim is `true` if branch protections or rulesets are configured for the ref that triggered the workflow run.
ref_typeThe `ref_type` claim is the type of ref that triggered the workflow run.
repositoryThe `repository` claim is the owner and repository name.
repository_idThe `repository_id` claim is the ID of the repository.
repository_ownerThe `repository_owner` claim is the repository owner's name.
repository_owner_idThe `repository_owner_id` claim is the repository owner's account ID.
repository_visibilityThe `repository_visibility` claim is the visibility of the repository where the workflow is running.
run_attemptThe `run_attempt` claim is a unique number for each attempt of a particular workflow run in a repository.
run_idThe `run_id` claim is a unique number for each workflow run within a repository.
run_numberThe `run_number` claim is a unique number for each run of a particular workflow in a repository.
runner_environmentThe `runner_environment` claim is the environment of the runner executing the job.
shaThe `sha` claim is the commit SHA that triggered the workflow.
subThe `sub` claim identifies the principal that is the subject of the JWT.
workflowThe `workflow` claim is the name of the workflow.
workflow_refThe `workflow_ref` claim is the ref path to the workflow.
workflow_shaThe `workflow_sha` claim is the commit SHA for the workflow file.