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: docs/guides/custom-reports.md
+33-23
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,11 @@ Contained within the `<pr_details>` tag.
76
76
-`State`: string ("open"/"closed") - Current state of the PR
77
77
-`Mergeable`: boolean (true/false) - Whether the PR can be merged
78
78
-`Is stale`: boolean - Whether PR has been inactive for over 168 hours
79
+
-`PR Stage`: string - The current stage of open PRs in Open or Draft state, can be one of:
80
+
- "Needs Author Action" - PR requires author attention due to merge conflicts, draft status, or requested changes
81
+
- "Waiting for Author to Merge" - PR has approvals and is ready for author to merge
82
+
- "Waiting for Code Reviews" - PR is waiting for reviewers to approve
83
+
- undefined - PR is not in an open state (is merged or closed)
79
84
80
85
#### Basic Information
81
86
@@ -124,60 +129,65 @@ Generate a summary of each pull request in the following bullet point format:
124
129
- If 'Merged: true' set 'PR State: 🔀 Merged'
125
130
- Else If 'Draft: true' set 'PR State: 📝 Draft'
126
131
- Else If 'State: open' or 'State: active' set 'PR State: 💬 Open'
127
-
- Else If 'State: closed' and 'Merged: false' set 'PR State: 🔒 Closed'
132
+
- Else If 'State: closed' or 'State: DECLINED' and 'Merged: false' set 'PR State: 🔒 Closed'
128
133
- Else set 'PR State: ❓ Unknown'
129
134
- If the PR is stale, add '⚠️ Stale' at the end of the PR State.
130
-
- Mergeable (if PR State if not 'Merged'): Provide the mergeable status of the PR as 'Mergeable' or 'Not Mergeable'.
135
+
- Mergeable (if PR State is not 'Merged'): Provide the mergeable status of the PR as 'Mergeable' or 'Not Mergeable' based on the "Mergeable: " value.
136
+
- PR Stage (if PR State is not 'Merged'): Provide the stage of the PR based on the "PR Stage: " value.
131
137
- Summary: In under 50 words provide a short summary of the PR.
132
138
- Comments: In under 50 words provide a short summary of all comments found within <pr_comments>, including each comments author username from <comment_author_username>. If there are no comments available, output 'No comments'.
0 commit comments