跳到主要内容

Manual pipeline execution

POST 

/api/v8/repos/:owner/:repo/actions/workflows/:workflow_id/dispatches

Request​

Path Parameters

    owner stringrequired

    Repository space address (organization or individual's address path)

    repo stringrequired

    Repository path (path)

    workflow_id stringrequired

    The id of the workflow, or a filename with yml or yaml suffix (not full path)

Query Parameters

    access_token stringrequired

    User authorization code

Bodyrequired

    refstringrequired

    Branch name or tag name

    inputs objectrequired

    Custom parameters, in key-value format

    object

Responses​

Response Headers
    Schema
      workflow_idstringrequired
      workflow_run_idstringrequired