Return the workflow path from the run rather than trying to fetch the workflow information when the workflow information is missing or refers to a required workflow.
I've tested this by setting up a required workflow using the action version from this version and confirmed it works.
Note: We are reporting the path as if it exists in the current repo, but that is not the case. Logic that relies on making a distinction here might be affected.
Merge / deployment checklist
[x] Confirm this change is backwards compatible with existing workflows.
[x] Confirm the readme has been updated if necessary.
[x] Confirm the changelog has been updated if necessary.
Return the workflow path from the run rather than trying to fetch the workflow information when the workflow information is missing or refers to a required workflow.
This fixes the error:
I've tested this by setting up a required workflow using the action version from this version and confirmed it works.
Note: We are reporting the path as if it exists in the current repo, but that is not the case. Logic that relies on making a distinction here might be affected.
Merge / deployment checklist