github.createOrUpdateWorkflowFile creates or replaces a YAML workflow file directly under .github/workflows/.
automations/update-github-workflow.automation.ts
.yml or .yaml path directly under .github/workflows/, Base64-encoded contentBase64, and commitMessage. Add the existing blob sha when replacing a workflow. Optional branch defaults to the default branch; author and committer accept { name, email }. Returns the commit sha and the workflow content path and sha. The action requires both Contents and Workflows write permissions.