state
of the workflow to active
. You can replace workflow_id
with the workflow file name. For example, you could use main.yaml
.repo
scope to use this endpoint. GitHub Apps must have the actions:write
permission to use this endpoint.curl --location --request PUT 'https://api.github.com/repos///actions/workflows//enable'
{}