scality / runner-manager

Service to manage github Actions self-hosted runners
https://scality.github.io/runner-manager/
Apache License 2.0
7 stars 7 forks source link

fix assertion error due to incorrect type assumption in webhook timestamp #564

Closed harryfinbow closed 3 months ago

harryfinbow commented 3 months ago

Following #555, an assertion error was occuring due to the assumption that both the created_at and started_at fields in the workflow_job webhooks were datetime instead of str. This, following the pattern in #555, converts the str value of the webhook into datetime before the assertion.