lwmacct/Dispatch Workflow
Dispatch a workflow_dispatch workflow with source tag and SHA inputs
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| workflow | Target workflow file name or ID. | yes | — |
| target-repository | Repository that owns the target workflow, in owner/repo format. Defaults to the current repository. | no | — |
| target-ref | Ref used to run the target workflow. Defaults to the target repository default branch, then main. | no | — |
| token | GitHub token with Actions write permission on the target repository. | no | ${{ github.token }} |
| source-tag | Source release tag. Defaults to the current tag ref when running from a tag push. | no | — |
| source-sha | Optional source commit SHA. Defaults to GITHUB_SHA only for tag push events. | no | — |
| require-tag | Set to true to fail when no source tag can be resolved. | no | true |
| tag-pattern | Optional glob pattern that source-tag must match, for example v*. | no | — |
| inputs | Extra target workflow inputs, one key=value pair per line. | no | — |
| wait | Set to true to poll the target workflow run until completion. | no | false |
| wait-timeout-seconds | Maximum time to wait for the target workflow when wait is true. | no | 1800 |
| wait-interval-seconds | Polling interval used when wait is true. | no | 10 |
| fail-on-target-failure | Set to true to fail this action when a waited target run does not conclude with success. | no | true |
| run-name-contains | Optional display title substring used to identify the target run while waiting. | no | — |
| dispatch-id-input | Optional target workflow input name that receives a generated dispatch ID. | no | — |
| summary | Set to true to write a GitHub step summary. | no | true |
Outputs
| name | description |
|---|---|
| workflow | Target workflow. |
| target-repository | Resolved target repository. |
| target-ref | Resolved target ref. |
| source-tag | Resolved source tag. |
| source-sha | Resolved source SHA, when available. |
| dispatch-id | Generated dispatch ID. |
| run-id | Target run ID when wait finds a run. |
| run-url | Target run URL when wait finds a run. |
| status | Target run status when wait is enabled. |
| conclusion | Target run conclusion when wait is enabled. |