Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was 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

Description

@ke4ktz

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.

Activity

  1. ke4ktz commented on May 26, 2021

    @ke4ktz
    Author

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions