Merge pull request #305 from trail-of-forks/ww/debug-workflow-ref
Some checks failed
🏗️ / smoke-test (push) Has been cancelled
🏗️ / build-and-push (push) Has been cancelled

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

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_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'),
)