{"repo":"Codex-/await-remote-run","free":true,"listed":false,"github":"https://github.com/Codex-/await-remote-run","clone":"git clone https://github.com/Codex-/await-remote-run.git","description":"✅ Await the completion of a foreign repository Workflow Run given the Run ID.","language":"TypeScript","stars":55,"topics":["actions","automation","github-actions"],"license":"MIT","category":"workflow-automation","readme_excerpt":"GitHub Action: await-remote-run Await the completion of a foreign repository Workflow Run given the Run ID. This Action exists as a workaround for the issue where you cannot await the completion of a dispatched action. This action requires being able to get the run ID from a dispatched action, see Getting the Run ID. Should a remote workflow run fail, this action will attempt to output which step failed, with a link to the workflow run itself. Getting the Run ID Dispatching a run and identifying the run it created are separate problems. Either of these solves the latter: Source Yields -------------------------------------------------------------- --------------------------------------------------------- gh workflow run The run URL on stdout, the ID being its last path segment return-dispatch run id and run url step outputs Taking the ID from the gh CLI ( =2.87.0) looks like this: Usage With the run ID in hand, include await-remote-run as described below. Awaiting specific jobs Set jobs to await named jobs within the run rather than the run itself, one name per line. This suits a remote run whose later jobs you don't need to gate on, such as awaiting build while its deploy continues. The action resolves once every listed job has concluded with success , leaving the rest of the run in flight. Any other conclusion, skipped included, fails the action immediately without awaiting the remaining jobs. With cancel timeout seconds set, this failure also requests cancellation of the ru","default_branch":null,"files":null,"tree":[],"storefront":"/r/Codex-","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Codex-/await-remote-run/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}