ilyaka-gmx/Reusable Workflow Context

Expose a reusable workflow's own ref, SHA, repo, and path via the job's OIDC token — no inputs from the caller, no ref duplication.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
audienceCustom audience for the OIDC token request. Rarely needed; leave blank to use the runner's default audience.no""
namedescription
workflow_refShort ref name of the reusable workflow (e.g. `v2.4.0`, `main`, or a SHA). `refs/tags/` and `refs/heads/` prefixes are stripped.
workflow_full_refRaw ref of the reusable workflow as emitted by GitHub, preserving any `refs/tags/` or `refs/heads/` prefix.
workflow_ref_typeOne of `tag`, `branch`, `sha`.
workflow_shaCommit SHA of the reusable workflow file at the invoked ref.
workflow_repositoryFull `owner/repo` of the reusable workflow.
workflow_repository_ownerOwner segment of `workflow_repository`.
workflow_pathPath of the reusable workflow file within the repo (e.g. `.github/workflows/ci.yml`).
job_workflow_refThe raw `job_workflow_ref` OIDC claim value.