Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ci: add auto-generated summary and GitHub issue comment workflows to triage.yaml#19925

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
johnstcn merged 11 commits intomainfromcj/traiage/gh-issue-comment
Sep 24, 2025

Conversation

johnstcn
Copy link
Member

No description provided.

@johnstcnjohnstcn self-assigned thisSep 23, 2025
Copy link
Contributor

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Pull Request Overview

This PR adds an auto-generated summary feature and GitHub issue commenting functionality to the traiage workflow. The changes enhance the CI/CD pipeline to automatically generate summaries of workspace changes using Claude AI and post structured comments back to GitHub issues.

  • Adds a newsummary command to generate AI-powered summaries of workspace changes
  • Implements GitHub issue commenting with auto-generated summaries and metadata
  • Improves output redirection and quoting consistency in the workflow

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

FileDescription
scripts/traiage.shAdds workspace existence check, summary generation function, and output redirection
.github/workflows/traiage.yamlImplements GitHub commenting workflow with auto-generated summaries and improves quoting consistency

Tip: Customize your code reviews with copilot-instructions.md.Create the file orlearn how to get started.

bash<<-EOF
#!/usr/bin/env bash
set -euo pipefail
summary=\$(echo -n 'You are a CLI utility that generates a human-readable Markdown summary for the currently staged AND unstaged changes. Print ONLY the summary and nothing else.' |\${HOME}/.local/bin/claude --print)
Copy link
Preview

CopilotAISep 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

[nitpick] The command line for generating the summary is excessively long and hard to read. Consider breaking this into multiple lines or storing the prompt in a variable for better readability and maintainability.

Suggested change
summary=\$(echo -n'You are a CLI utility that generates a human-readable Markdown summary for the currently staged AND unstaged changes. Print ONLY the summary and nothing else.'|\${HOME}/.local/bin/claude --print)
SUMMARY_PROMPT='You are a CLI utility that generates a human-readable Markdown summary for the currently staged AND unstaged changes. Print ONLY the summary and nothing else.'
summary=\$(echo -n"\${SUMMARY_PROMPT}"|\${HOME}/.local/bin/claude --print)

Copilot uses AI. Check for mistakes.

@johnstcnjohnstcn changed the titleci: traiage: add auto-generated summary and github issue commentci: workflows/traiage.yaml: add auto-generated summary and github issue commentSep 23, 2025
@johnstcnjohnstcn changed the titleci: workflows/traiage.yaml: add auto-generated summary and github issue commentci: add auto-generated summary and github issue comment to workflows/traiage.yamlSep 23, 2025
@johnstcnjohnstcn changed the titleci: add auto-generated summary and github issue comment to workflows/traiage.yamlci: add auto-generated summary and GitHub issue comment workflows to triage.yamlSep 23, 2025
Copy link
Contributor

@DanielleMaywoodDanielleMaywood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks fine to me, just a nit on the PR title, it saystriage.yaml when the file being changed istraiage.yaml.

@johnstcn
Copy link
MemberAuthor

Looks fine to me, just a nit on the PR title, it saystriage.yaml when the file being changed istraiage.yaml.

That's just to appease the grammar bot 🤣

Copy link
Member

@mafredrimafredri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Awesome!

@johnstcn
Copy link
MemberAuthor

Awesome!

Comments addressed in4e03814

@johnstcnjohnstcn merged commit8f3e03a intomainSep 24, 2025
31 checks passed
@johnstcnjohnstcn deleted the cj/traiage/gh-issue-comment branchSeptember 24, 2025 10:54
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsSep 24, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@mafredrimafredrimafredri left review comments

Copilot code reviewCopilotCopilot left review comments

@DanielleMaywoodDanielleMaywoodDanielleMaywood approved these changes

Assignees

@johnstcnjohnstcn

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@johnstcn@mafredri@DanielleMaywood

[8]ページ先頭

©2009-2025 Movatter.jp