adept-at/Dispatch a workflow and wait for completion
Action to dispatch and wait for or skip the completion of a workflow
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| GITHUB_TOKEN | GitHub token | yes | — |
| REPOSITORY | repository name | yes | — |
| WORKFLOW_NAME | workflow name to dispatch | yes | — |
| CLIENT_PAYLOAD | JSON payload for the dispatched workflow: preview url, etc. `{"preview_url": "https://vercel-preiview-example.com"}` | no | — |
| VERIFY_JOB | Wait for dispatch to complete, off by default, set to true to wait for the job to complete | no | — |
| MAX_ATTEMPTS | Maximum number of polling attempts before giving up (only used when VERIFY_JOB is true). Defaults to 16. Effective timeout = MAX_ATTEMPTS x POLL_INTERVAL_SECONDS. | no | 16 |
| POLL_INTERVAL_SECONDS | Seconds to wait between polling attempts (only used when VERIFY_JOB is true). Defaults to 30. | no | 30 |
Outputs
no outputs