dragoscops/Trigger and Wait for Workflows
Triggers one or more workflows in a different repository and waits for them to end
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| credentials | JSON string of credentials to use for authentication. Can include either: - 'token': a GitHub token (e.g., a personal access token or GitHub App token). - 'app': an object with 'appId', 'installationId', and 'privateKey' for GitHub App authentication. Example: '{"token": "your-github-token"}' or '{"app": {"appId": "12345", "installationId": "67890", "privateKey": "your-private-key"}}' | yes | — |
| repo | Repository to trigger workflows in (format: owner/repo) | no | — |
| workflow_id | ID or filename of the workflow to trigger | no | — |
| ref | Git reference to use for triggering the workflow | no | main |
| inputs | JSON string of inputs to pass to the workflow | no | {} |
| wait_interval | Interval in seconds to wait between polling workflow status | no | 10s |
| timeout | Maximum time to wait for the workflow to complete | no | 1h |
| action | Action to perform: trigger-and-wait, trigger-only, wait-only | no | trigger-and-wait |
| run_id | Run ID of the workflow to wait for (required for wait-only action) | no | — |
| run_pattern | Pattern for the workflow (to wait for) name (required for trigger-and-wait and trigger-only actions) | no | — |
| no_throw | If set to 'yes' or 'true', will not throw errors when waiting for a workflow, instead will print the error message to 'run_conclusion' output. | no | no |
| debug | Print debug information | no | no |
Outputs
no outputs