levon-kechichian-kr/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
- Stalelast commit Dec 9, 2022
- License
- MIT
Pinned Snippet
uses: levon-kechichian-kr/trigger-workflow-and-wait@ddd573c6e8393c2731e12614f28e82f9ca23ab31 # v1.1.2tags can be moved; commit SHAs can't. why a SHA?
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. Its recommended you put it under secrets. | yes | — |
| github_user | The name of the github user whose access token is being used to trigger the workflow. | no | — |
| ref | The reference of the workflow run. The reference can be a branch, tag, or a commit SHA. Default: main | no | — |
| wait_interval | The number of seconds delay between checking for result of run. | no | — |
| workflow_file_name | The reference point. For example, you could use main.yml. | yes | — |
| client_payload | Payload to pass to the workflow, must be a 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 | — |
| last_workflow_interval | The number of seconds delay between checking for the last workflow. default: 0 | no | — |
| last_workflow_timeout | The number of seconds to wait to find the triggered workflow before exiting. default: 10 | 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 |