phuongtmr/Trigger Workflow and Wait
This action triggers a workflow in another repository and waits for the result.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| owner | The owner of the repository where the workflow is contained. | yes | — |
| repo | The repository where the workflow is contained. | yes | — |
| github_token | The Github access token with access to the repository. | yes | — |
| workflow_file_name | The workflow file name (e.g., deploy.yml). | yes | — |
| ref | The reference of the workflow run (branch, tag, or commit SHA). Default: main | no | — |
| wait_interval | Seconds between status checks (adaptive: slower when queued, faster when running). Default: 10 | no | — |
| trigger_timeout | Seconds to wait for the triggered workflow run to appear. Default: 120 | no | — |
| client_payload | Inputs to pass to the workflow as JSON string | no | — |
| propagate_failure | Fail current job if downstream job fails. Default: true | no | — |
| trigger_workflow | Trigger the specified workflow. Default: true | no | — |
| wait_workflow | Wait for workflow to finish. Default: true | no | — |
| distinct_id_name | Input field name for workflow correlation (e.g., 'id'). Enables reliable run identification when set. | no | — |
Outputs
| name | description |
|---|---|
| workflow_id | The ID of the workflow that was triggered by this action |
| workflow_url | The URL of the workflow that was triggered by this action |
| conclusion | Conclusion of the job (success, failure, cancelled, etc.) |
| distinct_id | The unique identifier used to correlate this trigger with the workflow run |