github.onWorkflowDispatch handles manual or API-driven workflow_dispatch activity.
automations/on-github-workflow-dispatch.automation.ts
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Run when a GitHub Actions workflow is manually dispatched.
github.onWorkflowDispatch handles manual or API-driven workflow_dispatch activity.
import { automation } from "automate.ax"
import { github } from "automate.ax/github"
export default automation("GitHub workflow dispatched", () => {
const event = github.onWorkflowDispatch()
// Update the GitHub workflow in the CI dashboard.
})