Codex- / await-remote-run

✅ Await the completion of a foreign repository Workflow Run given the Run ID.
MIT License
29 stars 9 forks source link

Failed to find run #178

Closed colin-oos closed 9 months ago

colin-oos commented 12 months ago

return-dispatch is successfully finding my Run ID using the distinct ID.

However, I'm immediately attempting to run await-remote-run per your documentation using the run_id returned from return-dispatch and it is failing to fund the run based on this ID. I know the ID is correct though, because when I click the outputed URL from return-dispatch it takes me to my other repositories run and it is running as expected. Here are the outputs / log from both return-dispatch and then followed by await-remote-run. Notice the error getWorkflowRunState: An unexpected error has occurred: Not found

image

colin-oos commented 12 months ago

I should add that my token does have the following permissions set:

image

colin-oos commented 12 months ago

Never mind! I figured out my issue. It was a boneheaded mistake. For anyone wondering, I had an extra $ in my reference to my owner input. Just a simple typo.

Works great and accomplishes exactly what my workflow needs. Thanks for this and keep up the good work!