Improvement
• 1 minute read

GitHub Actions: Inputs unified across manual and reusable workflows

Summary

Workflows triggered by workflow_dispatch and workflow_call can now access their inputs using the inputs context. Previously workflow_dispatch inputs were in the event payload. This made it difficult for workflow authors…

Workflows triggered by workflow_dispatch and workflow_call can now access their inputs using the inputs context.

Previously workflow_dispatch inputs were in the event payload. This made it difficult for workflow authors who wanted to have one workflow that was both reusable and manually triggered. Now a workflow author can write a single workflow triggered by workflow_dispatch and workflow_call and use the inputs context to access the input values.

For workflows triggered by workflow_dispatch inputs are still available in the github.event.inputs context to maintain compatibility.

Using the inputs context in GitHub Actions

For questions, visit the GitHub Actions community

To see what's next for Actions, visit our public roadmap

New Releases

Improvements

Deprecations

Back to top