Open
Description
Schema Inaccuracy
Apparently, the head_repository
property can also be null
in the Get a workflow run
response. I assume this happens when the repository has been removed in the meantime.
Expected
The head_repository
property should also list null
as a possible variant.
Reproduction Steps
# Run with empty 'head_repository'
curl --silent https://api.github.com/repos/fkirc/skip-duplicate-actions/actions/runs/2379220866 | jq '.head_repository'
# "Normal" run
curl --silent https://api.github.com/repos/fkirc/skip-duplicate-actions/actions/runs/2419547490 | jq '.head_repository'