Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

Getting Run ID of Manually Invoked Workflow Using REST API #1980

Open
ke4ktz opened this issue May 26, 2021 · 1 comment
Open

Getting Run ID of Manually Invoked Workflow Using REST API #1980

ke4ktz opened this issue May 26, 2021 · 1 comment

Comments

@ke4ktz
Copy link

ke4ktz commented May 26, 2021

I am writing an automation routine that will include manually running a GitHub Workflow. I need to monitor the status of the workflow and download the logs once it’s finished.

Everything is fairly straightforward. The only missing link in the chain is how to determine the run ID for the workflow that I just invoked. There is no information that comes back from the REST API call (/repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches endpoint) in either the body or the headers that gives me that information, or provides any key that would allow be to obtain that information.

There needs to be some sort of feedback (body or header) information that can send the run ID of the workflow run back to the caller.

@ke4ktz
Copy link
Author

ke4ktz commented May 26, 2021

Received reply from support@github.com:

We now require that new support requests be created using our Support website:
https://support.github.com
Please use this website to search through resources that may help you find the solutions you are looking for or connect with our GitHub experts.

Looks like they don't support using the email address anymore. The support page doesn't contain any links to anything that allows me to "officially" submit a request. @isaacs, you are my only hope! (Apologies to Princess Leah.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant