github.createRelease creates a release and can ask GitHub to generate release notes.
automations/create-github-release.automation.ts
tagName. Optional fields are targetCommitish, name, Markdown body, draft, prerelease, generateReleaseNotes, discussionCategoryName, and makeLatest ("true", "false", or "legacy"). Draft, prerelease, and generated notes default to false. GitHub creates the tag from targetCommitish when it does not exist. Returns the release’s id, tag_name, draft, and prerelease state. Requires Contents write permission. GitHub also requires Workflows write permission when the target commit changes a file under .github/workflows/ relative to the default branch.