Skip to content

Commit 8dd62be

Browse files
adding example in for consistency
1 parent 2e13b76 commit 8dd62be

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

docs/guides/custom-reports.md

+64
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,70 @@ Provide:
236236
- Help maintain consistency across teams
237237
- Avoid ambiguity in report generation
238238

239+
- Try to use an <overall_summary> and <example> tag blocks to keep consistency across reports. EX:
240+
241+
```text
242+
243+
Use the <overall_instructions> to guide the content of the summary and base the formatting of the summary on the <example>. Be sure to change the PR link based on the platform of the repository. We cover Github, Gitlab, Azure DevOps, Bitbucket and self hosted platforms.
244+
245+
<overall_instructions>
246+
Generate a summary of each pull request in the following bullet point format:
247+
248+
- PR Link
249+
- Title
250+
- PR State: Provide the state of the PR based on the following conditions:
251+
- If 'Merged: true' set 'PR State: 🔀 Merged'
252+
- Else If 'Draft: true' set 'PR State: 📝 Draft'
253+
- Else If 'State: open' set 'PR State: 💬 Open'
254+
- Else If 'State: closed' and 'Merged: false' set 'PR State: 🔒 Closed'
255+
- Else set 'PR State: ❓ Unknown'
256+
- If the PR is stale, add '⚠️ Stale' at the end of the PR State.
257+
- Mergeable (if PR State if not 'Merged'): Provide the mergeable status of the PR as 'Mergeable' or 'Not Mergeable'.
258+
- Summary: Provide a short summary of the PR under 50 words.
259+
</overall_instructions>
260+
261+
<example>
262+
- **PR Link:** [#3001](https://github.com/mygithuborg/myrepo/pull/3001)
263+
- **Title:** feat: Add Dynamic Theme Switching Feature
264+
- **PR State:** 💬 Open
265+
- **Mergeable:** Mergeable
266+
- **Summary:** Introduces dynamic theme switching to improve UI accessibility. Adds support for dark/light mode toggling and updates color schemes across the application for an enhanced user experience.
267+
268+
- **PR Link:** [#302](https://github.com/mygithuborg/thatrepo/pull/302)
269+
- **Title:** Fix: Correct Typographical Error in Dashboard Header
270+
- **PR State:** 💬 Open
271+
- **Mergeable:** Mergeable
272+
- **Summary:** Corrects a minor typographical error in the dashboard header to ensure consistency in UI labels. This update refines the display text and improves overall clarity.
273+
274+
- **PR Link:** [#3003](https://github.com/mygithuborg/myotherrepo/pull/3)
275+
- **Title:** Chore: Update Third-Party Dependencies for Security Enhancements
276+
- **PR State:** 🔀 Merged
277+
- **Summary:** Updates several third-party dependencies to address security vulnerabilities and improve performance. Includes minor bug fixes and adjustments to maintain compatibility with the latest libraries.
278+
279+
- **PR Link:** [#14](https://github.com/mygithuborg/frontend/pull/14)
280+
- **Title:** Refactor: Simplify Data Fetching Logic in User Profiles Module
281+
- **PR State:** 💬 Open
282+
- **Mergeable:** Mergeable
283+
- **Summary:** Refactors the data fetching logic in the user profiles module by replacing nested callbacks with async/await. Enhances code readability and streamlines error handling for a more robust implementation.
284+
285+
- **PR Link:** [#13005](https://github.com/mygithuborg/backend/pull/13005)
286+
- **Title:** feat: Integrate Real-Time Notifications for Activity Updates
287+
- **PR State:** 🔀 Merged
288+
- **Summary:** Implements real-time notifications to keep users updated on recent activities. Utilizes WebSocket connections for instant alerts and provides customizable notification settings within the user profile.
289+
290+
- **PR Link:** [#3006](https://github.com/mygithuborg/myrepo/pull/3006)
291+
- **Title:** Hotfix: Address Issue with API Rate Limiting on Login Endpoint
292+
- **PR State:** 🔀 Merged
293+
- **Summary:** Applies a hotfix to resolve issues related to API rate limiting on the login endpoint. Adjusts configuration parameters and enhances error responses to ensure smoother authentication during peak usage.
294+
295+
- **PR Link:** [#3007](https://github.com/mygithuborg/myrepo/pull/3007)
296+
- **Title:** 📝 Draft: Prototype New Analytics Dashboard
297+
- **PR State:** 📝 Draft
298+
- **Mergeable:** Not Mergeable
299+
- **Summary:** Initiates a prototype for a new analytics dashboard designed to provide users with real-time insights. This draft version is open for early feedback and may undergo significant changes based on review and testing. Requires update from the main branch to be mergable.
300+
</example>
301+
```
302+
239303
## Example Templates
240304

241305
### Executive Summary Template

0 commit comments

Comments
 (0)