Skip to content

BREAKING CHANGE: Actions.Workflows.CreateDispatch returns the workflow run details - #3066

Open
reduckted wants to merge 1 commit into
octokit:mainfrom
reduckted:feature/workflow-dispatch-result
Open

BREAKING CHANGE: Actions.Workflows.CreateDispatch returns the workflow run details#3066
reduckted wants to merge 1 commit into
octokit:mainfrom
reduckted:feature/workflow-dispatch-result

Conversation

@reduckted

Copy link
Copy Markdown

Resolves #3062


Before the change?

  • Actions.Workflows.CreateDispatch would not return anything (besides a Task).

After the change?

  • Actions.Workflows.CreateDispatch will return the details of the workflow run. The details include the ID, an API URL and a HTML URL.

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

@reduckted
reduckted marked this pull request as ready for review March 30, 2026 10:13
@reduckted

Copy link
Copy Markdown
Author

@nickfloyd I'm not sure if you're the right person to poke about this, but is this project still maintained?

@justinmchase

Copy link
Copy Markdown

Thank you for this PR! I've been waiting literally for years for them to fix this issue and this will make a massive difference in my life.

/// <summary>
/// The Id for the dispatched workflow run.
/// </summary>
public long WorkflowRunId { get; private set; }

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

@justinmchase

Copy link
Copy Markdown

Ping!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🆕 Triage

Development

Successfully merging this pull request may close these issues.

[FEAT]: Return run ID from workflow dispatch

3 participants