From 7c5c585c36acb0e71e5fdefcdb3429aac6dc4fe3 Mon Sep 17 00:00:00 2001 From: William Woodruff Date: Fri, 22 Nov 2024 12:58:46 -0500 Subject: [PATCH] oidc-exchange: add workflow_ref to debug msg Signed-off-by: William Woodruff --- oidc-exchange.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oidc-exchange.py b/oidc-exchange.py index 0ada77b..227b9c4 100644 --- a/oidc-exchange.py +++ b/oidc-exchange.py @@ -83,6 +83,7 @@ If a claim is not present in the claim set, then it is rendered as `MISSING`. * `repository`: `{repository}` * `repository_owner`: `{repository_owner}` * `repository_owner_id`: `{repository_owner_id}` +* `workflow_ref`: `{workflow_ref}` * `job_workflow_ref`: `{job_workflow_ref}` * `ref`: `{ref}` @@ -175,6 +176,7 @@ def render_claims(token: str) -> str: repository=_get('repository'), repository_owner=_get('repository_owner'), repository_owner_id=_get('repository_owner_id'), + workflow_ref=_get('workflow_ref'), job_workflow_ref=_get('job_workflow_ref'), ref=_get('ref'), )