Merge pull request #305 from trail-of-forks/ww/debug-workflow-ref

This commit is contained in:
🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) 2024-11-24 03:01:28 +01:00 committed by GitHub
commit 218af422c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,7 @@ If a claim is not present in the claim set, then it is rendered as `MISSING`.
* `repository`: `{repository}` * `repository`: `{repository}`
* `repository_owner`: `{repository_owner}` * `repository_owner`: `{repository_owner}`
* `repository_owner_id`: `{repository_owner_id}` * `repository_owner_id`: `{repository_owner_id}`
* `workflow_ref`: `{workflow_ref}`
* `job_workflow_ref`: `{job_workflow_ref}` * `job_workflow_ref`: `{job_workflow_ref}`
* `ref`: `{ref}` * `ref`: `{ref}`
@ -175,6 +176,7 @@ def render_claims(token: str) -> str:
repository=_get('repository'), repository=_get('repository'),
repository_owner=_get('repository_owner'), repository_owner=_get('repository_owner'),
repository_owner_id=_get('repository_owner_id'), repository_owner_id=_get('repository_owner_id'),
workflow_ref=_get('workflow_ref'),
job_workflow_ref=_get('job_workflow_ref'), job_workflow_ref=_get('job_workflow_ref'),
ref=_get('ref'), ref=_get('ref'),
) )