You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/actions/auto-release-description/generate_pr_description.js
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -150,19 +150,19 @@ ${diffContent}`;
150
150
* Create the main PR description prompt
151
151
*/
152
152
functioncreatePRPrompt(diffContent){
153
-
return`Write a release note summary with the following sections:
153
+
return`Write a release note summary with the following sections. Be comprehensive but concise - focus on the most important changes:
154
154
155
155
## Infrastructure Changes
156
-
Highlight changes to AWS resources, IaC (CloudFormation/SAM templates), Lambda functions, databases, and deployment configurations.
156
+
Highlight changes to AWS resources, IaC (CloudFormation/SAM templates), Lambda functions, databases, and deployment configurations. Use bullet points for clarity.
157
157
158
158
## Security Concerns
159
-
Identify any security-related changes, authentication/authorization updates, data access modifications, or potential vulnerabilities.
159
+
Identify any security-related changes, authentication/authorization updates, data access modifications, or potential vulnerabilities. If none, state "No significant security changes detected."
160
160
161
161
## Performance Implications
162
-
Assess any changes that could impact system performance, database queries, API response times, or resource consumption.
162
+
Assess any changes that could impact system performance, database queries, API response times, or resource consumption. If none, state "No significant performance implications detected."
163
163
164
164
## New Features
165
-
Describe new functionality, enhancements, or capabilities being introduced.
165
+
Describe new functionality, enhancements, or capabilities being introduced. Use bullet points for multiple features.
166
166
167
167
## Student Access Risk Analysis
168
168
Evaluate the risk that these changes could cause students to lose access to their course materials. Assess changes to:
@@ -178,6 +178,8 @@ function createPRPrompt(diffContent) {
178
178
179
179
If no student access risks are detected, state: "Risk Level: NONE - No changes affect student material access."
180
180
181
+
IMPORTANT: Keep the total response under 12,000 tokens. Be comprehensive but concise. Group similar changes together.
0 commit comments