feat: substitute LLM bot authors with human assignees in release notes#253
Open
feat: substitute LLM bot authors with human assignees in release notes#253
Conversation
- Add src/release-author-substitutor.js with utility functions for detecting LLM/AI bot users and replacing their author mentions with the PR's human assignee in release note bodies - Add test/release-author-substitutor.test.js with 34 unit tests (Node.js built-in test runner, all passing) - Add package.json with npm test script - Update shared-auto-release.yml with new llm-users input and a post-processing step that patches the release body when LLM-authored PRs are found Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update auto releasers to show human assignee in release notes
feat: substitute LLM bot authors with human assignees in release notes
Mar 17, 2026
Member
|
Please look at the localized GitHub Actions pattern that we use in the Atmos repository. Instead of inlining a lot of GitHub script in workflows, move them to composite actions, co-located in the repo, and then reference them with relative paths. Again, see Atmos for examples. |
|
Important Cloud Posse Engineering Team Review RequiredThis pull request modifies files that require Cloud Posse's review. Please be patient, and a core maintainer will review your changes. To expedite this process, reach out to us on Slack in the |
Extract the two large inline github-script blocks from reusable workflows into composite actions co-located in .github/actions/, following the Atmos repository pattern. - .github/actions/substitute-llm-authors/action.yml: composite action extracted from shared-auto-release.yml; uses process.env instead of template interpolation for the release-id (security improvement) - .github/actions/substitute-llm-authors/release-author-substitutor.js: moved from src/ to co-locate with the composite action - .github/actions/release-commenter/action.yml: composite action extracted from shared-release-branches.yml; cleaned up var/for-in patterns - shared-auto-release.yml: 116-line inline script → 4-line composite action call - shared-release-branches.yml: 131-line inline script → 2-line composite action call - test/release-author-substitutor.test.js: updated import path Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
.github/actions/substitute-llm-authors/action.ymlcomposite actionsrc/release-author-substitutor.js→.github/actions/substitute-llm-authors/release-author-substitutor.jstest/release-author-substitutor.test.jsimport path.github/actions/release-commenter/action.ymlcomposite actionshared-auto-release.ymlto use./.github/actions/substitute-llm-authorsshared-release-branches.ymlto use./.github/actions/release-commenter✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.