updateGitHubIssue updates fields shared by GitHub issues and pull requests.
automations/close-github-issue.automation.ts
owner, repository, and positive integer issueNumber are required. Optional replacements are title, body (null clears it), assignee (null clears it), assignees, labels, milestone (null clears it), state, and stateReason ("completed", "not_planned", "reopened", or null). Optional account defaults to the project binding. Inputs accept compatible signals.
Returns the updated GitHub issue or pull request. GitHub validates repository-specific users, labels, milestones, and state transitions.