Skip to main content
github.disableWorkflow disables a workflow while leaving its YAML file unchanged.
automations/disable-github-workflow.automation.ts
Provide the repository and a numeric workflow ID or workflow file name. Returns {} after GitHub accepts the change. Requires Actions write permission.